Technical data
Numbers in BCD code
Decimal numbers are represented as numbers in BCD code. With
their sign and three digits, they occupy 16 bits (1 word) in an
accumulator as shown in the following example:
15 12 11 8 7 4 3 0
V V V V hundreds tens ones
The individual digits are positive 4-bit binary numbers between 0000 and
1001 (0 and 9 decimal).
The left bits are reserved for the sign as follows:
Sign for a positive number: 0000
Sign for a negative number: 1111
Permissible numerical range
-999 to +999
STEP 5 Programming Language
CPU 928B Programming Guide
2 - 12 C79000-B8576-C898-01