Motorola HC12 Refrence Manual page 70

Table of Contents

Advertisement

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

Advertisement

Table of Contents
loading

This manual is also suitable for:

Cpu12

Table of Contents