![background image](http://html.mh-extra.com/html/hyundai/gms800/gms800_instruction-manual_2196205032.webp)
HYUNDAI MicroElectonics
28
BVS
( Branch if overflow flag set )
Function
: if (V) = 1, then ( PC )
( PC ) + rel
Description : Branches if overflow flag(V) are “1”.
Flag
:
Mnemonic
OP Code
Bytes
Cycles
BVS rel
B0
2
2/4
Example
:
179 E0DA D51AE0
LDA
!DATA+Y
180 E0DD 0555
ADC
55H
181 E0DF B0CD
BVS
OVERL
CALL
( Subroutine call )
Function
: M( SP )
PC
H
, SP
SP - 1 ,
M( SP )
PC
L
, SP
SP - 1 ,
if !abs , PC
abs
if [ dp ] , PC
L
( dp ), PC
H
( dp + 1 )
Description : Subroutine call.
Flag
:
Mnemonic
OP Code
Bytes
Cycles
CALL !abs
3B
3
8
CALL [ dp ]
5F
2
8
Example
:
184 E0E1 C403
LDA
#3
; A <- 3
185 E0E3 3BF6E0
CALL
KREAD