mc68hc05p18a Freescale Semiconductor, Inc, mc68hc05p18a Datasheet - Page 103

no-image

mc68hc05p18a

Manufacturer Part Number
mc68hc05p18a
Description
Mc68hc05p18a Hcmos Microcontroller Unit
Manufacturer
Freescale Semiconductor, Inc
Datasheet
12.4.2 Read-Modify-Write Instructions
MC68HC05P18A
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,
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.
Go to: www.freescale.com
Table 12-2. Read-Modify-Write Instructions
Instruction Set
Instruction
Mnemonic
BCLR
BSET
TST
COM
ROR
ASR
DEC
NEG
CLR
LSR
ROL
ASL
INC
LSL
(2)
(1)
Instruction Types
(1)
Technical Data
Instruction Set

Related parts for mc68hc05p18a