Chapter 8 Writing Source Statements
Matsushita format
Radix
Binary
Octal
Decimal
Hexadecimal
Coding rules:
Binary
Octal
Decimal
Hexadecimal
132 Numbers
Binary
Octal
B'101'
B'101'
101
O'567'
O'567'
567
F'789'
F'789'
X7'def'
X'def'
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.
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.
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.
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
Decimal
B'101'
O'567'
F'789'
789
X'def'
Hexadecimal
B'101'
O'567'
F'789'
X'def'
0def