Instruction List
B-37
ET 200S Interface Module IM 151/CPU
A5E00058783-01
B.23 Fixed-Point Math Instructions (16 Bits)
Math instructions of two 16-bit numbers. The result is in ACCU1–L.
In-
struc-
tion
Address
ID
Description
Length
in
Words
Typical Execution Time in
s
+I – Add 2 integers (16 bits)
(ACCU1-L)=(ACCU1-L)+
(ACCU2-L)
1 1.5
–I – Subtract 2 integers (16 bits)
(ACCU1-L)=(ACCU2-L)–
(ACCU1-L)
1 1.6
*
I – Multiply 2 integers (16 bits)
(ACCU1-L)=(ACCU2-L)
*
(ACCU1-L)
1 2.4
/I – Divide 2 integers (16 bits)
(ACCU1-L)=(ACCU2-L):
(ACCU1-L)
The remainder of the division is in
ACCU1-H.
1 3.4
Status word for: +I, –I,
*
I, /I BR A1 A0 OV OS OR STA RLO /FC
Instruction depends on: – – – – – – – – –
Instruction controls: – Yes Yes Yes Yes – – – –