Hyundai GMS800 Instruction Manual page 52

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

Advertisement

HYUNDAI MicroElectonics
OR1B
( Bit logical OR - 1's complement )

Function
: C
( C )
Description :
Logical OR of the carry flag and 1's complement of M.bit.
The result is left in the carry flag.

Flag
:
Mnemonic
OR1B M.bit
Example
:
166 F0C5 CB6020
167 F0C8 6B7FF0
168 F0CB EB7FF0
PCALL
Function
: M( SP )
M( SP )

PC
L
Description : Call subroutine within upage.

Flag
:
Mnemonic
PCALL
Example :
365 F195 4F00
366 F197 3B00FF
367
368
369
370 FF00 FF
371 FF01 FF
372 FF02 6F
48
~( M.bit )
OP Code
6B
LDC
OR1B
STC
( U-Page call )


PC
,
SP
SP - 1 ,


H
PC
,
SP
SP - 1 ,

L
( upage ) PC
"0FFH"
H
OP Code
upage
4F
PCALL
CALL
;
;
ORG
DELAY:
NOP
NOP
RET
Bytes
Cycles
3
5
60H.1
7FH.7
7FH.7
;~7FH.7 ^ 60H.1 -> 7FH.7
Bytes
Cycles
2
6
DELAY
; USE 2 BYTE
DELAY
; USE 3 BYTE
0FF00H ; PCALL AREA ADDRESS

Advertisement

Table of Contents
loading

Table of Contents