
Programming
Chapter 3
311
Figure 3.6
General
AF1 Subtraction Function Word and Digit Format
171615141312111076543210
S
Digit 1
(MSD)
Digit 2 Digit 3
Bit No.
Data Address
m
Digit 5
Digit 6
Digit 4
(LSD)
Operand 1
S
Digit 1
(MSD)
Digit 2 Digit 3
Digit 5
Digit 6
Digit 4
(LSD)
Operand 2
S
Digit 1
(MSD)
Digit 2 Digit 3
Result Address
n
Digit 5
Digit 6
Digit 4
(LSD)
Result
DERE
m + 1
m + 2
m + 3
n + 1
E = Enable Bit (1 = Function in Progress)
S = Sign Bit (1= Negative)
D = Done Bit (1 = Function Complete)
ER = Error Bit (1 = Overflow)
MSD = Most Significant Digit
LSD = Least Significant Digit
11484