DECA [m]
Decrement data memory place result in the accumulator
Description
Data in the specified data memory are decremented by one, leaving the re-
sult in the accumulator. The contents of the data memory remain un-
changed.
Operation
ACC ¬ [m]-1
Affected flag(s)
TC2
¾
HALT
Enter power down mode
Description
This instruction stops the program execution and turns off the system clock.
The contents of the RAM and registers are retained. The WDT and prescaler
are cleared. The power down bit (PD) is set and the WDT time-out bit (TO) is
cleared.
Operation
PC ¬ PC+1
PD ¬ 1
TO ¬ 0
Affected flag(s)
TC2
¾
INC [m]
Increment data memory
Description
Data in the specified data memory are incremented by one.
Operation
[m] ¬ [m]+1
Affected flag(s)
TC2
¾
INCA [m]
Increment data memory-place result in accumulator
Description
Data in the specified data memory are incremented by one, leaving the re-
sult in the accumulator. The contents of the data memory remain un-
changed.
Operation
ACC ¬ [m]+1
Affected flag(s)
TC2
¾
TC1
TO
PD
OV
¾
¾
¾
¾
TC1
TO
PD
OV
0
1
¾
¾
TC1
TO
PD
OV
¾
¾
¾
¾
TC1
TO
PD
OV
¾
¾
¾
¾
36
HT827A0
Z
AC
C
Ö
¾
¾
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?