Motorola HC12 Refrence Manual page 69

Table of Contents

Advertisement

ABX
(B) + (X) ⇒ X
Operation:
Description:
Adds the 8-bit unsigned content of accumulator B to the content of index
register X considering the possible carry out of the low-order byte of X;
places the result in X. The content of B is not changed.
This mnemonic is implemented by the LEAX B,X instruction. The LEAX
instruction allows A, B, D, or a constant to be added to X. For compati-
bility with the M68HC11, the mnemonic ABX is translated into the LEAX
B,X instruction by the assembler.
Condition Codes and Boolean Formulas:
S
None affected.
Addressing Modes, Machine Code, and Execution Times:
Source Form
ABX translates to...
LEAX B,X
Notes:
1. Due to internal CPU requirements, the program word fetch is performed twice to the same address during this
instruction.
CPU12
REFERENCE MANUAL
Add Accumulator B to
Index Register X
X
H
I
N
Z
Address Mode
IDX
1A E5
INSTRUCTION GLOSSARY
V
C
Object Code
ABX
Cycles
Access Detail
1
2
PP
MOTOROLA
6-9

Advertisement

Table of Contents
loading

This manual is also suitable for:

Cpu12

Table of Contents