HT47C20 Holtek Semiconductor Inc, HT47C20 Datasheet - Page 44

no-image

HT47C20

Manufacturer Part Number
HT47C20
Description
8-Bit Microcontroller
Manufacturer
Holtek Semiconductor Inc
Datasheet
DECA [m]
Description
Operation
Affected flag(s)
HALT
Description
Operation
Affected flag(s)
INC [m]
Description
Operation
Affected flag(s)
INCA [m]
Description
Operation
Affected flag(s)
Decrement data memory-place result in accumulator
Data in the specified data memory is decremented by one, leaving the re-
sult in the accumulator. The contents of the data memory remain un-
changed.
ACC ¬ [m]-1
Enter power down mode
This instruction stops program execution and turns off the system clock.
The contents of the RAM and registers are retained. The WDT is cleared.
The power down bit (PD) is set and the WDT time-out bit (TO) is cleared.
PC ¬ PC+1
PD ¬ 1
TO ¬ 0
Increment data memory
Data in the specified data memory is incremented by one.
[m] ¬ [m]+1
Increment data memory and place result in accumulator
Data in the specified data memory is incremented by one, leaving the re-
sult in the accumulator. The contents of the data memory remain un-
changed.
ACC ¬ [m]+1
TC2
TC2
TC2
TC2
¾
¾
¾
¾
TC1
TC1
TC1
TC1
¾
¾
¾
¾
TO
TO
TO
TO
¾
¾
¾
0
44
PD
PD
PD
PD
¾
¾
¾
1
OV
OV
OV
OV
¾
¾
¾
¾
¾
Z
Z
Ö
Z
Ö
Z
Ö
AC
AC
AC
AC
¾
¾
¾
¾
¾
¾
¾
¾
C
C
C
C
January 18, 2000
HT47C20

Related parts for HT47C20