mc68hc705j1avs Freescale Semiconductor, Inc, mc68hc705j1avs Datasheet - Page 56

no-image

mc68hc705j1avs

Manufacturer Part Number
mc68hc705j1avs
Description
M68hc05 Microcontrollers Microcontroller
Manufacturer
Freescale Semiconductor, Inc
Datasheet
Central Processor Unit (CPU)
3.6.2.2 Read-Modify-Write Instructions
Technical Data
NOTE:
These instructions read a memory location or a register, modify its
contents, and write the modified value back to the memory location or to
the register.
Do not use read-modify-write instructions on registers with write-only
bits.
Freescale Semiconductor, Inc.
For More Information On This Product,
Central Processor Unit (CPU)
Arithmetic shift left (same as LSL)
Arithmetic shift right
Bit clear
Bit set
Clear register
Complement (one’s complement)
Decrement
Increment
Logical shift left (same as ASL)
Logical shift right
Negate (two’s complement)
Rotate left through carry bit
Rotate right through carry bit
Test for negative or zero
Go to: www.freescale.com
1. Unlike other read-modify-write instructions, BCLR and
2. TST is an exception to the read-modify-write sequence
Table 3-2. Read-Modify-Write Instructions
BSET use only direct addressing.
because it does not write a replacement value.
Instruction
MC68HC705J1A — Rev. 4.0
Mnemonic
BCLR
BSET
TST
COM
ROR
DEC
NEG
ASR
CLR
ROL
ASL
LSR
LSL
INC
(2)
(1)
(1)

Related parts for mc68hc705j1avs