Absolute Addressing Mode !Abs - Hyundai GMS800 Instruction Manual

Gms800 series 8-bit single-chip microcomputers
Table of Contents

Advertisement

1.4. Absolute Addressing Mode
The address field of the instruction gives the address of the operand in memory. 2nd byte instruction is the
lower address and 3rd byte is the upper address. The disadvantage of absolute addressing mode is to
require 3-byte instruction.
OP CODE
Operand
A
X
Y
PSW
Memory
Example)
07 35 D0
Example)
98 35 01

!abs
Low Address
Upper Address
ADC
AND
CMP
CMPX
LDX
STX
CMPY
LDY
STY
JMP
CALL
ASL
BIT
DEC
ADC !0D035H
( G=1 )
INC !0135H
Instructions
LDA
EOR
OR
INC
LSR
ROL
A ← A+data+C
data ← data + 1
Addressing Mode
SBC
STA
ROR
TCLR1
TSET1
MEMORY
data
D035
h
Op code ( 07 )
Operand( 35 )
Operand( D0 )
MEMORY
000
h
0 Page
0 Page
0FF
h
100
h
1 Page
data
135
h
1FF
h
Op code ( 98 )
Operand ( 35 )
Operand ( 01 )
5

Advertisement

Table of Contents
loading

Table of Contents