BS2824 Holtek Semiconductor Inc., BS2824 Datasheet - Page 83

no-image

BS2824

Manufacturer Part Number
BS2824
Description
Touch Key Mcu
Manufacturer
Holtek Semiconductor Inc.
Datasheet
SWAP [m]
Description
Operation
Affected flag(s)
SWAPA [m]
Description
Operation
Affected flag(s)
SZ [m]
Description
Operation
Affected flag(s)
SZA [m]
Description
Operation
Affected flag(s)
SZ [m].i
Description
Operation
Affected flag(s)
TABRDC [m]
Description
Operation
Affected flag(s)
Rev. 1.00
Swap nibbles of Data Memory
The low-order and high-order nibbles of the specified Data Memory are interchanged.
[m].3~[m].0
None
Swap nibbles of Data Memory with result in ACC
The low-order and high-order nibbles of the specified Data Memory are interchanged.
The result is stored in the Accumulator. The contents of the Data Memory remain un-
changed.
ACC.3 ~ ACC.0
ACC.7 ~ ACC.4
None
Skip if Data Memory is 0
If the contents of the specified Data Memory is 0, the following instruction is skipped.
As this requires the insertion of a dummy instruction while the next instruction is
fetched, it is a two cycle instruction. If the result is not 0 the program proceeds with the
following instruction.
Skip if [m] = 0
None
Skip if Data Memory is 0 with data movement to ACC
The contents of the specified Data Memory are copied to the Accumulator. If the value is
zero, the following instruction is skipped. As this requires the insertion of a dummy in-
struction while the next instruction is fetched, it is a two cycle instruction. If the result is
not 0 the program proceeds with the following instruction.
ACC
Skip if [m] = 0
None
Skip if bit i of Data Memory is 0
If bit i of the specified Data Memory is 0, the following instruction is skipped. As this re-
quires the insertion of a dummy instruction while the next instruction is fetched, it is a
two cycle instruction. If the result is not 0, the program proceeds with the following in-
struction.
Skip if [m].i = 0
None
Read table (current page) to TBLH and Data Memory
The low byte of the program code (current page) addressed by the table pointer (TBLP)
is moved to the specified Data Memory and the high byte moved to TBLH.
[m]
TBLH
None
program code (low byte)
[m]
program code (high byte)
[m].7 ~ [m].4
[m].7 ~ [m].4
[m].3 ~ [m].0
83
BS2824/BS2854/BS2868
Touch Key MCU
January 27, 2010

Related parts for BS2824