Hyundai GMS800 Instruction Manual page 32

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

Advertisement

HYUNDAI MicroElectonics
BVS
( Branch if overflow flag set )
Function
: if (V) = 1,
Description : Branches if overflow flag(V) are "1".

Flag
:
Mnemonic
BVS
Example
:
179 E0DA D51AE0
180 E0DD 0555
181 E0DF B0CD
CALL
( Subroutine call )
Function
: M( SP )
if !abs , PC
if [ dp ] , PC
Description : Subroutine call.

Flag
:
Mnemonic
CALL
CALL
Example
:
184 E0E1 C403
185 E0E3 3BF6E0
28

then ( PC )
( PC ) + rel
OP Code
rel
B0
LDA
ADC
BVS


PC
,
SP
SP - 1 ,

H
abs

( dp ),
PC
L
OP Code
!abs
3B
[ dp ]
5F
LDA
CALL
Bytes
Cycles
2
2/4
!DATA+Y
55H
OVERL

M( SP )

( dp + 1 )
H
Bytes
Cycles
3
8
2
8
#3
; A <- 3
KREAD

PC
,
SP
SP - 1 ,
L

Advertisement

Table of Contents
loading

Table of Contents