RRCA [m]
Description
Operation
Affected flag(s)
SBC A,[m]
Description
Operation
Affected flag(s)
SBCM A,[m]
Description
Operation
Affected flag(s)
HT827A0
Rotate to the right through carry - then place result in the accumulator
Data of the specified data memory and carry flag are rotated one bit right. Bit
0 replaces the carry bit and the original carry flag is rotated to the bit 7 posi-
tion. The rotation result is stored in the accumulator. The contents of the
data memory remain unchanged.
ACC.i ¬ [m].(i+1); [m].i:bit i of the data memory (i=0~6)
ACC.7 ¬ C
C ¬ [m].0
TC2 TC1 TO PD OV Z AC C
¾¾ ¾ ¾ ¾ ¾ ¾
Ö
Subtract data memory and carry from the accumulator
The contents of the specified data memory and the complement of the carry
flag are subtracted from the accumulator, leaving the result in the accumula-
tor.
ACC ¬ ACC+[m]+C
TC2 TC1 TO PD OV Z AC C
¾¾ ¾ ¾
Ö
Ö
Ö
Ö
Subtract data memory and carry from the accumulator
The contents of the specified data memory and the complement of the carry
flag are subtracted from the accumulator, leaving the result in the data mem-
ory.
[m] ¬ACC+[m]+C
TC2 TC1 TO PD OV Z AC C
¾¾ ¾ ¾
Ö
Ö
Ö
Ö
42
March 15, 2000