mc68hc05x4dw Freescale Semiconductor, Inc, mc68hc05x4dw Datasheet - Page 36

no-image

mc68hc05x4dw

Manufacturer Part Number
mc68hc05x4dw
Description
Xc68hc705x4 Microcontroller
Manufacturer
Freescale Semiconductor, Inc
Datasheet
Read-Modify-Write
Instructions
CPU
MC68HC05X4
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 operations on write-only registers.
Freescale Semiconductor, Inc.
For More Information On This Product,
Subtract Memory Byte and Carry Bit from Accumulator
Store Accumulator in Memory
Store Index Register in Memory
Subtract Memory Byte from Accumulator
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
1. Unlike other read-modify-write instructions, BCLR and
2. TST is an exception to the read-modify-write sequence be-
Go to: www.freescale.com
Table 2. Read-Modify-Write Instructions
BSET use only direct addressing.
cause it does not write a replacement value.
Table 1. Register/Memory Instructions
CPU
Instruction
Mnemonic
BCLR
BSET
TST
COM
DEC
NEG
ROR
ASR
CLR
ROL
ASL
LSR
INC
LSL
(2)
(1)
(1)
SBC
SUB
STX
STA
10-cpu

Related parts for mc68hc05x4dw