
4.LADDER LANGUAGE B-63983EN/02
- 316 -
4.10.3 MULB (Binary Multiplication: SUB 38)
This instruction multiplies 1-, 2-, and 4-byte binary data items. In the
operation result register (R9000), operation data is set besides the
numerical data representing the operation.
A required number of bytes is necessary to store multiplicand,
multiplier, and the result (product).
Format
Fig. 4.10.3 shows the ladder format and Table 4.10.3 shows the
mnemonic format.
MULB
SUB 38
CT
W1
o00o
¡¡¡¡ *
¡¡¡¡ *
¡¡¡¡ *
Error output
RST
Format specification
Multiplicand address
Multiplier data (address)
Result output address
Fig. 4.10.3 Format of MULB instruction
Table 4.10.3 Mnemonic of MULB instruction
Mnemonic format Status of operation result
Step
number
Instruction
Address
No.
Bit No. Remarks ST3 ST2 ST1 ST0
1RD ¡¡¡¡ .¡ RST RST
2 RD. STK ¡¡¡¡ .¡ ACT RST ACT
3 SUB 38 MULB instruction
4(PRM) o00o Format specification
5(PRM) ¡¡¡¡ Multiplicand address
6(PRM) ¡¡¡¡ Multiplier data (address)
7(PRM) ¡¡¡¡ Result output address
8WRT ¡¡¡¡ .¡ Error output W1