Instruction Set

10.4.1 Register/Memory Instructions

These instructions operate on CPU registers and memory locations. Most of them use two operands. One operand is in either the accumulator or the index register. The CPU finds the other operand in memory.

Table 10-1. Register/Memory Instructions

Instruction

Mnemonic

 

 

Add Memory Byte and Carry Bit to Accumulator

ADC

 

 

Add Memory Byte to Accumulator

ADD

 

 

AND Memory Byte with Accumulator

AND

 

 

Bit Test Accumulator

BIT

 

 

Compare Accumulator

CMP

 

 

Compare Index Register with Memory Byte

CPX

 

 

EXCLUSIVE OR Accumulator with Memory Byte

EOR

 

 

Load Accumulator with Memory Byte

LDA

 

 

Load Index Register with Memory Byte

LDX

 

 

Multiply

MUL

 

 

OR Accumulator with Memory Byte

ORA

 

 

Subtract Memory Byte and Carry Bit from Accumulator

SBC

 

 

Store Accumulator in Memory

STA

 

 

Store Index Register in Memory

STX

 

 

Subtract Memory Byte from Accumulator

SUB

 

 

General Release Specification

 

MC68HC05RC16 — Rev. 3.0

 

 

 

90

Instruction Set

MOTOROLA