Expression Elements
The elements of an expression are constants, registers, and symbols.
Numeric Constants
Numeric constants must be integers, and their values must be between 2,147,483,648 and 4,294,967,295.
By default, numeric constants use decimal notation, but the built-in assembler also supports binary, octal, and
hexadecimal. Binary notation is selected by writing a B after the number, octal notation by writing an O after the
number, and hexadecimal notation by writing an H after the number or a $ before the number.
Numeric constants must start with one of the digits 0 through 9 or the $ character. When you write a hexadecimal
constant using the H suffix, an extra zero is required in front of the number if the first significant digit is one of the
digits A through F. For example, 0BAD4H and $BAD4 are hexadecimal constants, but BAD4H is an identifier because
it starts with a letter.
Dostları ilə paylaş: |