EasyManua.ls Logo

Oki MSM85C154HVS - Page 365

Oki MSM85C154HVS
378 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
MSM80C154S/83C154S/85C154HVS
358
98. SUBB A, @Rr (Substract indirect address from accumulator with borrow)
1001011r
70
Instruction code
Operation
Number of bytes
Number of cycles
Flags
(PSW)
Description
Example SUBB A, @R0
Instruction code
: Byte 1
(A)(A)–((C)+((Rr))) r=0 or 1:
C AC F0 RS1 RS0 OV F1 P
••
:
:
:
The carry flag content and the data memory location contents
addressed by the register r contents are substracted from the
accumulator contents. The result is placed in the accumulator,
and the flags are updated.
:
10010110
70
Byte 1
Accumulator
01010100
70
1
1
Before execution
Accumulator
10000010
70
After execution
:
Register 0
01000111
70
Register 0
01000111
70
47H
11010010
70
47H
11010010
70
0
Carry flag
1
Carry flag
0
Auxiliary carry flag
0
Auxiliary carry flag
0
Overflow flag
1
Overflow flag

Table of Contents