
B–61863E/15
5. FUNCTIONAL INSTRUCTIONS
PMC SEQUENCE PROGRAM
249
Adds BCD two–or four–digit data.
Fig.5.33.2 shows the expression format and Table 5.33.2 shows the
coding format.
ADD
(SUB 19)
RST
(1)
f
ffff.f
ACT
ffff.f
W1
fff.f
(2)
ffff
(3)
ffff
Instruction
Format of addend (Constant or address)
Summand address
Addend
Error output
BYT
ffff.f
(2)
(1)
(0)
Sum output address
(4)
ffff
A + B = C
Control conditions
Fig. 5.33.2 ADD instruction format
Table 5.33.2 ADD instruction coding
Coding sheet Memory status of control conditions
Step
Number
Instruc-
tion
Address
No.
Bit No. Remarks ST3 ST2 ST1 ST0
1 RD fff . f BYT BYT
2 RD. STK fff . f RST BYT RST
3 RD. STK fff . f ACT BYT RST ACT
4 SUB 19 ADD instruction
5 (PRM) f Addend format
6 (PRM) ffff Summand address
7 (PRM) ffff Addend (address)
8 (PRM) ffff Sum output address
9 WRT fff . f Error output W1
5.33
ADD (ADDITION)
5.33.1
Function
5.33.2
Format