mc68hc705j2 Freescale Semiconductor, Inc, mc68hc705j2 Datasheet - Page 35

no-image

mc68hc705j2

Manufacturer Part Number
mc68hc705j2
Description
8-bit Microcontroller
Manufacturer
Freescale Semiconductor, Inc
Datasheet
4.4.4 Bit Manipulation Instructions
4.4.5 Control Instructions
MOTOROLA
4-16
The CPU can set or clear any writable bit in the first 256 bytes of memory. Port
register, port data direction registers, timer registers, and on-chip RAM locations
are in the first 256 bytes of memory. The CPU can also test and branch based
on the state of any bit in any of the first 256 memory locations. Bit manipulation
instructions use the direct addressing mode. Table 4-10 lists these instructions.
These register reference instructions control CPU operation during program
execution.
addressing mode.
Set Bit n
Clear Bit n
Branch if Bit n of M = 0
Branch if Bit n of M = 1
Control instructions, listed in Table 4-11, use the inherent
Transfer Accumulator to Index Register
Transfer Index Register to Accumulator
Set Carry Bit
Clear Carry Bit
Set Interrupt Mask
Clear Interrupt Mask
Software Interrupt
Return from Subroutine
Reset Stack Pointer
No Operation
Stop
Wait
Table 4-10. Bit Manipulation Instructions
Table 4-11. Control Instructions
CENTRAL PROCESSOR UNIT
Instruction
Instruction
BSET n (n = 0 . . . 7)
BCLR n (n = 0 . . . 7)
Mnemonic
Mnemonic
STOP
WAIT
NOP
BRCLR
BRSET
TAX
TXA
SEC
CLC
SWI
RSP
SEI
CLI
RTI
MC68HC705J2

Related parts for mc68hc705j2