Hyundai GMS800 Instruction Manual page 35

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

Advertisement

CLRG

Function
: (G)
Description : Clear G-flag
 
Flag
:
Mnemonic
CLRG
Example
:
262 E12D C0
263 E12E C530
264 E130 40
265 E131 E505
CLRV

Function
:( V )
" 0 ",
Description : Clear overflow flag(V) and half overflow flag(H)
  
Flag
:
Mnemonic
CLRV
Example
:
238 E112 20
239 E113 0409
240 E115 80
( Clear G-flag )
" 0 "
OP Code
40
SETG
LDA
CLRG
STA
( Clear overflow flag )

( H )
" 0 "
OP Code
80
CLRC
ADC
CLRV
Bytes
Cycles
1
2
30H
;LOAD FROM !0130H
WORK0
;STORE TO !0005H
Bytes
Cycles
1
2
#09H
Instruction Set
31

Advertisement

Table of Contents
loading

Table of Contents