Arm VERSION 1.2 Instrukcja Użytkownika Strona 26

  • Pobierz
  • Dodaj do moich podręczników
  • Drukuj
  • Strona
    / 360
  • Spis treści
  • BOOKMARKI
  • Oceniono. / 5. Na podstawie oceny klientów
Przeglądanie stron 25
Writing ARM and Thumb Assembly Language
2-14 Copyright © 2000, 2001 ARM Limited. All rights reserved. ARM DUI 0068B
Constants
Constants can be numeric, boolean, character or string:
Numbers Numeric constants are accepted in three forms:
Decimal, for example,
123
Hexadecimal, for example,
0x7B
n_xxx
where:
n
is a base between 2 and 9
xxx
is a number in that base.
Boolean The Boolean constants
TRUE
and
FALSE
must be written as
{TRUE}
and
{FALSE}
.
Characters Character constants consist of opening and closing single quotes,
enclosing either a single character or an escaped character, using the
standard C escape characters.
Strings Strings consist of opening and closing double quotes, enclosing
characters and spaces. If double quotes or dollar signs are used within a
string as literal text characters, they must be represented by a pair of the
appropriate character. For example, you must use
$$
if you require a
single
$
in the string. The standard C escape sequences can be used within
string constants.
Przeglądanie stron 25
1 2 ... 21 22 23 24 25 26 27 28 29 30 31 ... 359 360

Komentarze do niniejszej Instrukcji

Brak uwag