mc68hc705c4acfn Freescale Semiconductor, Inc, mc68hc705c4acfn Datasheet - Page 153

no-image

mc68hc705c4acfn

Manufacturer Part Number
mc68hc705c4acfn
Description
M68hc05 Microcontrollers
Manufacturer
Freescale Semiconductor, Inc
Datasheet

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
MC68HC705C4ACFN
Manufacturer:
MOT
Quantity:
5 510
12.4.2 Read-Modify-Write Instructions
MC68HC705C4A • MC68HSC705C4A — Rev. 3.0
MOTOROLA
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.
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 12-2. Read-Modify-Write Instructions
Instruction Set
Instruction
Mnemonic
BCLR
BSET
TST
COM
ROR
DEC
NEG
ASR
CLR
LSR
ROL
ASL
LSL
INC
(2)
(1)
Instruction Types
(1)
Technical Data
Instruction Set
153

Related parts for mc68hc705c4acfn