Chapter 8 Writing Source Statements
132 Numbers
Matsushita format
Coding rules:
Binary Start with letter 'B' (or 'b'), and enclose binary digits in single quotation marks ( ' ).
When the default is binary, code the binary number as is.
Octal Start with letter 'O' (or 'o'), and enclose octal digits in single quotation marks ( ' ).
When the default is octal, code the octal number as is.
Decimal Start with letter 'F' (or 'f'), and enclose decimal digits in single quotation marks ( ' ).
When the default is decimal, code the decimal number as is.
Hexadecimal Start with letter 'X' (or 'x'), and enclose hexadecimal digits in single quotation marks
( ' ). When the default is hexadecimal, code the hexadecimal number as is. When the
number begins with a letter, prefix it with '0' (zero).
Current default radix
Radix Binary Octal Decimal Hexadecimal
Binary B’101’
101 B’101’ B’101’ B’101’
Octal O’567’ O’567’
567 O’567’ O’567’
Decimal F’789’ F’789’ F’789’
789 F’789’
Hexadecimal X7’def’ X’def’ X’def’ X’def’
0def