mc68hc705j2 Freescale Semiconductor, Inc, mc68hc705j2 Datasheet - Page 32

no-image

mc68hc705j2

Manufacturer Part Number
mc68hc705j2
Description
8-bit Microcontroller
Manufacturer
Freescale Semiconductor, Inc
Datasheet
4.4.2 Read-Modify-Write Instructions
MC68HC705J2
These instructions read a memory location or a register, modify its contents, and
write the modified value back to memory or to the register. The test for negative
or zero (TST) instruction is an exception to the read-modify-write sequence
because it does not write a replacement value. Read-modify-write instructions
use the following addressing modes:
Table 4-8 lists the read-modify-write instructions.
• Inherent
• Direct
• Indexed, no offset
• Indexed, 8-bit offset
Load Accumulator from Memory
Load Index Register from Memory
Store Accumulator in Memory
Store Index Register in Memory
Add Memory to Accumulator
Add Memory and Carry to Accumulator
Subtract Memory
Subtract Memory from Accumulator with Borrow
AND Memory with Accumulator
OR Memory with Accumulator
Arithmetic Compare Accumulator with Memory
Arithmetic Compare Index Register with Memory
Bit Test Memory with Accumulator (Logical Compare)
Multiply
Table 4-7. Register/Memory Instructions
CENTRAL PROCESSOR UNIT
Instruction
Mnemonic
ORA
SUB
CMP
MUL
LDA
LDX
STA
STX
ADD
ADC
SBC
AND
CPX
BIT
MOTOROLA
4-13

Related parts for mc68hc705j2