English
Language : 

MC68HC05P4A Datasheet, PDF (47/72 Pages) Advanced Analogic Technologies – Microcontrollers
11.3 Instruction Types
The MCU instructions fall into five categories:
1. Register/memory instructions
2. Read-modify-write instructions
3. Jump/branch instructions
4. Bit manipulation instructions
5. Control instructions
Instruction Types
11.3.1 Register/Memory Instructions
Most of these instructions use two operands. One operand is in either the accumulator or the index
register. The CPU finds the other operand in memory. Table 11-1 lists the register/memory instructions.
Table 11-1. Register/Memory Instructions
Instruction
Add memory byte and carry bit to accumulator
Add memory byte to accumulator
AND memory byte with accumulator
Bit test accumulator
Compare accumulator
Compare index register with memory byte
EXCLUSIVE OR accumulator with memory byte
Load accumulator with memory byte
Load index register with memory byte
Multiply
OR accumulator with memory byte
Subtract memory byte and carry bit from accumulator
Store accumulator in memory
Store index register in memory
Subtract memory byte from accumulator
Mnemonic
ADC
ADD
AND
BIT
CMP
CPX
EOR
LDA
LDX
MUL
ORA
SBC
STA
STX
SUB
MC68HC05P4A Data Sheet, Rev. 7.1
Freescale Semiconductor
47