Motorola HC12 Refrence Manual page 252

Table of Contents

Advertisement

STY
Operation:
(Y
H
Description:
Stores the content of index register Y in memory. The most significant
byte of Y is stored at the specified address, and the least significant byte
of Y is stored at the next higher byte address (the specified address plus
one).
Condition Codes and Boolean Formulas:
S
N:
Z:
V:
Addressing Modes, Machine Code, and Execution Times:
Source Form
STY opr8a
STY opr16a
STY oprx0_xysp
STY oprx9,xysp
STY oprx16,xysp
STY [D ,xysp ]
STY [ oprx16,xysp ]
MOTOROLA
6-192
Store Index Register Y
) ⇒ M : M + 1
: Y
L
X
H
I
N
Z
Set if MSB of result is set; cleared otherwise.
Set if result is $0000; cleared otherwise.
0; Cleared.
Address Mode
DIR
EXT
IDX
IDX1
IDX2
[D,IDX]
[IDX2]
INSTRUCTION GLOSSARY
V
C
0
Object Code
5D dd
7D hh ll
6D xb
6D xb ff
6D xb ee ff
6D xb
6D xb ee ff
STY
Cycles
Access Detail
2
PW
3
WOP
2
PW
3
PWO
3
PWP
5
PIfPW
5
PIPPW
CPU12
REFERENCE MANUAL

Advertisement

Table of Contents
loading

This manual is also suitable for:

Cpu12

Table of Contents