Integer Constants


digits  [ radix ]


Radix Description
h hexadecimal
q/o octal
d decimal
b binary
r encoded real
t decimal (alternate)
y binary (alternate)
  A hexadecimal constant beginning with a letter must have a leading zero to prevent the assembler from interpreting it as an identifier.  
Constant Representation
130 decimal
78d decimal
10010101b binary
520q octal
34o octal
15A0h hexadecimal
0F1Ah hexadecimal

 Binary and Octal  Decimal and Hexadecimal  Decimal and Hexadecimal






 Output  Output  Output
   



   



   




WriteInt writes a 32-bit signed integer to standard output in decimal format with a leading sign and no leading zeros. Before calling it, place the integer in EAX.