CM68HC05C4ACFB Motorola / Freescale Semiconductor, CM68HC05C4ACFB Datasheet - Page 101

no-image

CM68HC05C4ACFB

Manufacturer Part Number
CM68HC05C4ACFB
Description
Microcontroller
Manufacturer
Motorola / Freescale Semiconductor
Datasheet
12.4.2 Read-Modify-Write Instructions
MC68HC05C4A
MOTOROLA
NOTE:
Rev. 4.0
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.
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-
Table 12-2. Read-Modify-Write Instructions
BSET use only direct addressing.
cause it does not write a replacement value.
Instruction Set
Instruction
General Release Specification
Mnemonic
BCLR
BSET
TST
COM
NEG
ROR
ASR
DEC
ROL
CLR
LSR
ASL
INC
LSL
(2)
(1)
(1)
Instruction Types
Instruction Set
101

Related parts for CM68HC05C4ACFB