Chapter 8 Writing Source Statements

Matsushita format

 

 

 

Current default radix

 

Radix

 

 

 

 

 

Binary

Octal

 

Decimal

Hexadecimal

 

 

 

 

 

 

Binary

B’101’

B’101’

 

B’101’

B’101’

101

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Octal

O’567’

O’567’

 

O’567’

O’567’

 

567

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Decimal

F’789’

F’789’

 

F’789’

F’789’

 

 

 

789

 

 

 

 

 

 

 

 

 

 

 

 

Hexadecimal

X7’def’

X’def’

 

X’def’

X’def’

 

 

 

 

0def

 

 

 

 

 

 

 

 

 

 

 

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).

 

132 Numbers

Page 144
Image 144
Panasonic MN1030 user manual Matsushita format, ’101’, ’567’, ’789’, X7’def’ 0def