BS2824 Holtek Semiconductor Inc., BS2824 Datasheet - Page 79

no-image

BS2824

Manufacturer Part Number
BS2824
Description
Touch Key Mcu
Manufacturer
Holtek Semiconductor Inc.
Datasheet
OR A,x
Description
Operation
Affected flag(s)
ORM A,[m]
Description
Operation
Affected flag(s)
RET
Description
Operation
Affected flag(s)
RET A,x
Description
Operation
Affected flag(s)
RETI
Description
Operation
Affected flag(s)
RL [m]
Description
Operation
Affected flag(s)
RLA [m]
Description
Operation
Affected flag(s)
Rev. 1.00
Logical OR immediate data to ACC
Data in the Accumulator and the specified immediate data perform a bitwise logical OR
operation. The result is stored in the Accumulator.
ACC
Z
Logical OR ACC to Data Memory
Data in the specified Data Memory and the Accumulator perform a bitwise logical OR
operation. The result is stored in the Data Memory.
[m]
Z
Return from subroutine
The Program Counter is restored from the stack. Program execution continues at the re-
stored address.
Program Counter
None
Return from subroutine and load immediate data to ACC
The Program Counter is restored from the stack and the Accumulator loaded with the
specified immediate data. Program execution continues at the restored address.
Program Counter
ACC
None
Return from interrupt
The Program Counter is restored from the stack and the interrupts are re-enabled by set-
ting the EMI bit. EMI is the master interrupt global enable bit. If an interrupt was pend-
ing when the RETI instruction is executed, the pending Interrupt routine will be
processed before returning to the main program.
Program Counter
EMI
None
Rotate Data Memory left
The contents of the specified Data Memory are rotated left by 1 bit with bit 7 rotated into
bit 0.
[m].(i+1)
[m].0
None
Rotate Data Memory left with result in ACC
The contents of the specified Data Memory are rotated left by 1 bit with bit 7 rotated into
bit 0. The rotated result is stored in the Accumulator and the contents of the Data Mem-
ory remain unchanged.
ACC.(i+1)
ACC.0
None
ACC OR [m]
1
ACC OR x
x
[m].7
[m].7
[m].i; (i = 0~6)
[m].i; (i = 0~6)
Stack
Stack
Stack
79
BS2824/BS2854/BS2868
Touch Key MCU
January 27, 2010

Related parts for BS2824