MC68HC711G5 MOTOROLA [Motorola, Inc], MC68HC711G5 Datasheet - Page 155

no-image

MC68HC711G5

Manufacturer Part Number
MC68HC711G5
Description
High-density Complementary Metal Oxide Semiconductor (HCMOS) Microcontroller
Manufacturer
MOTOROLA [Motorola, Inc]
Datasheet
MC68HC11G5
12.3.1 Accumulator and Memory Instructions
Most of these instructions use two operands. One operand is either an accumulator or an index
register while the second operand is usually obtained from memory using one of the addressing
modes discussed earlier. These accumulator memory instructions can be divided into six subgroups:
These instructions are discussed in the following tables and paragraphs.
12.3.1.1
Almost all MCU activities involve moving data from memories or peripherals into the CPU or moving
results from the CPU to memory or to I/O devices. The load, store, and transfer instructions
associated with the accumulators are summarized in the following table. There are additional load,
store, push, and pull instructions associated with the index registers and stack pointer register
(see 12.3.2 Stack And Index Register Instructions).
Clear Memory Byte
Clear Accumulator A
Clear Accumulator B
Load Accumulator A
Load Accumulator B
Load Double Accumulator D
Pull A from Stack
Pull B from Stack
Push A onto Stack
Push B onto Stack
Store Accumulator A
Store Accumulator B
Store Double Accumulator D
Transfer A to B
Transfer A to CCR
Transfer B to A
Transfer CCR to A
Exchange D with X
Exchange D with Y
1. Loads, stores and transfers,
2. Arithmetic operations,
3. Multiply and divide,
4. Logical operations,
5. Data testing and bit manipulation,
6. Shifts and rotates.
Function
Loads, Stores and Transfers
CPU, ADDRESSING MODES AND INSTRUCTION SET
Table 12-1. Loads, Stores and Transfers
Mnemonic
CLRA
CLRB
LDAA
LDAB
PULA
PULB
PSHA
PSHB
STAA
STAB
XGDX
XGDY
CLR
LDD
STD
TAB
TAP
TBA
TPA
IMM
X
X
X
X
X
X
DIR
X
X
X
X
X
X
EXT
X
X
X
X
X
X
X
INDX
X
X
X
X
X
X
X
INDY
X
X
X
X
X
X
X
MOTOROLA
INH
X
X
X
X
X
X
X
X
X
X
X
X
12-5

Related parts for MC68HC711G5