MC68HC705V12CFN MOTOROLA [Motorola, Inc], MC68HC705V12CFN Datasheet - Page 217

no-image

MC68HC705V12CFN

Manufacturer Part Number
MC68HC705V12CFN
Description
The Motorola microcontroller
Manufacturer
MOTOROLA [Motorola, Inc]
Datasheet
16.4.2 Read-Modify-Write Instructions
MC68HC705V12
MOTOROLA
NOTE:
Rev. 3.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 BSET use
2. TST is an exception to the read-modify-write sequence because it
only direct addressing.
does not write a replacement value.
Table 16-2. Read-Modify-Write Instructions
Instruction Set
Instruction
Mnemonic
BCLR
BSET
TST
COM
ROR
DEC
NEG
ASR
CLR
ROL
ASL
LSR
LSL
INC
Advance Information
(2)
Instruction Types
(1)
(1)
Instruction Set
217

Related parts for MC68HC705V12CFN