Specifications

Page 17
Number format
Microprocessor manufacturers have chosen a variety of different formats for
representing hexadecimal numbers. [Some sort of formatting is essential,
otherwise a hex number starting with an alpha character could be confused with a
label or symbol name.]
DASMx
supports five different hex number format styles. These are summarised
in the table below, with an example in each case for the hex number F12C.
Number format numformat parameter Example
Intel
I 0F12CH
Motorola
M $F12C
Signetics
S H'F12C'
C language
C 0xF12C
Decimal
D 61740
DASMx
chooses a default number format according to the CPU type setting. The
default choice can be overriden by a numformat statement in the symbol file. The
number format defaults for the processors supported by
DASMx
are given in the
following table.