English
Language : 

GMS30C2116 Datasheet, PDF (69/322 Pages) Hynix Semiconductor – USERS MANUAL
INSTRUCTION SET
3-5
LDxx.N Rd, Rs, dis
Rd
ADDR
Memory
ADDR + dis
ADDR
DATA
Rs
DATA
STxx.N Rd, Rs, dis
Rd
ADDR
Memory
ADDR + dis
ADDR
DATA
Rs
DATA
Rd must not denote the PC or the SR.
In the case of all data types except byte, bit zero of dis is treated as zero for the calculation
of Rd + dis.
Stack Address Mode:
Notation:
LDW.S,
STW.S -- only word data type
The content of the destination register Rd is used as stack address, then Rd is incremented
by dis regardless of any exception occurred.
LDxx.S Rd, Rs, dis
Rd
ADDR
Stack
ADDR + dis
ADDR
DATA
Rs
DATA
STxx.S Rd, Rs, dis
Rd
ADDR
Stack
ADDR
ADDR + dis
DATA
Rs
DATA
A stack address addresses memory address space if it is lower than the stack pointer SP;
otherwise bits 7..2 of it (higher bits are ignored) address a register in the register part of the
stack absolutely (not relative to the frame pointer FP).
Bits one and zero of dis are treated as zero for the calculation of Rd + dis.
Rd must not denote the PC or the SR.
Note: The stack address mode must be used to address an operand in the stack regardless
of its present location either in the memory part or in the register part of the stack. Rd may
be set by the Set Stack Address instruction.