RRCA [m]
Rotate to the right through carry - then place result in the accumulator
Description
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.
Operation
ACC.i ¬ [m].(i+1); [m].i:bit i of the data memory (i=0~6)
ACC.7 ¬ C
C ¬ [m].0
Affected flag(s)
TC2
¾
SBC A,[m]
Subtract data memory and carry from the accumulator
Description
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.
Operation
ACC ¬ ACC+[m]+C
Affected flag(s)
TC2
¾
SBCM A,[m]
Subtract data memory and carry from the accumulator
Description
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.
Operation
[m] ¬ACC+[m]+C
Affected flag(s)
TC2
¾
TC1
TO
PD
OV
¾
¾
¾
¾
TC1
TO
PD
OV
¾
¾
¾
Ö
TC1
TO
PD
OV
¾
¾
¾
Ö
42
HT827A0
Z
AC
C
¾
¾
Ö
Z
AC
C
Ö
Ö
Ö
Z
AC
C
Ö
Ö
Ö
March 15, 2000
Need help?
Do you have a question about the HT827A0 and is the answer not in the manual?