EasyManua.ls Logo

Holtek BS66F340 - Page 223

Default Icon
242 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
Rev. 1.60 222 August 20, 2019 Rev. 1.60 223 August 20, 2019
BS66F340/BS66F350/BS66F360/BS66F370
Touch A/D Flash MCU with LED Driver
BS66F340/BS66F350/BS66F360/BS66F370
Touch A/D Flash MCU with LED Driver
DEC [m]
Decrement Data Memory
Description Data in the specied Data Memory is decremented by 1.
Operation [m] ← [m] − 1
Affected ag(s) Z
DECA [m]
Decrement Data Memory with result in ACC
Description Data in the specied Data Memory is decremented by 1. The result is stored in the
Accumulator. The contents of the Data Memory remain unchanged.
Operation ACC ← [m] − 1
Affected ag(s) Z
HALT
Enter power down mode
Description This instruction stops the program execution and turns off the system clock. The contents of
the Data Memory and registers are retained. The WDT and prescaler are cleared. The power
down ag PDF is set and the WDT time-out ag TO is cleared.
Operation TO ← 0
PDF ← 1
Affected ag(s) TO, PDF
INC [m]
Increment Data Memory
Description Data in the specied Data Memory is incremented by 1.
Operation [m] ← [m] + 1
Affected ag(s) Z
INCA [m]
Increment Data Memory with result in ACC
Description Data in the specied Data Memory is incremented by 1. The result is stored in the Accumulator.
The contents of the Data Memory remain unchanged.
Operation ACC ← [m] + 1
Affected ag(s) Z
JMP addr
Jump unconditionally
Description The contents of the Program Counter are replaced with the specied address. Program
execution then continues from this new address. As this requires the insertion of a dummy
instruction while the new address is loaded, it is a two cycle instruction.
Operation Program Counter ← addr
Affected ag(s) None
MOV A,[m]
Move Data Memory to ACC
Description The contents of the specied Data Memory are copied to the Accumulator.
Operation ACC ← [m]
Affected ag(s) None
MOV A,x
Move immediate data to ACC
Description The immediate data specied is loaded into the Accumulator.
Operation ACC ← x
Affected ag(s) None
MOV [m],A
Move ACC to Data Memory
Description The contents of the Accumulator are copied to the specied Data Memory.
Operation [m]ACC
Affected ag(s) None

Table of Contents

Related product manuals