
SBC A,[m]
Description
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 accumu-
lator.
ACC
←
ACC+[m]+C
Operation
Affected flag(s)
TC2
TC1
TO
PD
OV
Z
AC
C
–
–
–
–
√
√
√
√
SBCM A,[m]
Description
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
memory.
[m]
←
ACC+[m]+C
Operation
Affected flag(s)
TC2
TC1
TO
PD
OV
Z
AC
C
–
–
–
–
√
√
√
√
SDZ [m]
Description
Skip if decrement data memory is zero
The contents of the specified data memory are decremented by one. If the
result is zero, the next instruction is skipped. If the result is zero, the
following instruction, fetched during the current instruction execution, is
discarded and a dummy cycle is replaced to get the proper instruction (two
cycles). Otherwise proceed with the next instruction (one cycle).
Skip if ([m]–1)=0, [m]
←
([m]–1)
Operation
Affected flag(s)
TC2
TC1
TO
PD
OV
Z
AC
C
–
–
–
–
–
–
–
–
SDZA [m]
Description
Decrement data memory and place result in ACC, skip if zero
The contents of the specified data memory are decremented by one. If the
result is zero, the next instruction is skipped. The result is stored in the
accumulator but the data memory remains unchanged. If the result is zero,
the following instruction, fetched during the current instruction execution, is
discarded and a dummy cycle is replaced to get the proper instruction (two
cycles). Otherwise proceed with the next instruction (one cycle).
Skip if ([m]–1)=0, ACC
←
([m]–1)
Operation
Affected flag(s)
TC2
TC1
TO
PD
OV
Z
AC
C
–
–
–
–
–
–
–
–
HT48CXX/HT48RXX
43
25th May ’99