English
Language : 

GMS30C2116 Datasheet, PDF (74/322 Pages) Hynix Semiconductor – USERS MANUAL
3-10
CHAPTER 3
RRdis STxx.IOA 0, Rs, dis
dis^ := Rs;
[(dis + 4)^ := Rsf;]
-- I/O absolute address mode
W,D
RRdis STxx.N Rd, Rs, dis
Rd^ := Rs; Rd := Rd + dis;
[(old Rd + 4)^ := Rsf;]
-- next address mode
BU,BS,HU,HS,W,D
RRdis STxx.S Rd, Rs, dis
Rd^ := Rs; Rd := Rd + dis;
W
-- stack address mode
The expressions in brackets are only executed at double-word data types.
In the case of signed byte and half word data types, a trap to Range Error occurs when the
value of the operand to be stored exceeds the value range of the specified data type; the
byte or half word is stored regardless of a Range Error.
Data Type xx is with:
BU: byte unsigned;
BS: byte signed;
HU: half word unsigned;
HS: half word signed;
W: word;
D: double-word;
Register
L0 : $00001E30
L6 : $0000FFFF
L7 : $FFFF0000
Memory
00001E30 : 00000F00
00001E34 : 00003F01
00001E38 : 00004C10
00001E3C : 000000FF
Instruction : Register address mode
STW.R L0, L6
; L0^ = L6 = Address 00001E30 : $0000FFFF
STD.R L0, L6
; L0^ = L6 = Address 00001E30 : $0000FFFF
; (L0 + 4)^ = L7 = Address 00001E34 : $FFFF0000
Instruction : Displacement address mode
STW.D L0, L6, $8 ; (L0 + 8)^ = L6 = Address 00001E38 : $0000FFFF
STD.D L0, L6, $8
; (L0 + 8)^ = L6 = Address 00001E38 : $0000FFFF
; (L0 + 8 + 4)^ = L7 = Address 00001E3C : $FFFF0000