Instruction Set
59
TCALL
( Table call )
Function
: M( SP )
PC
H
, SP
SP - 1 ,
M( SP )
PC
L
, SP
SP - 1 ,
PC
L
( Table Vector L ) PC
H
( Table Vector H )
Description : Table Call subroutine.
Flag
:
Mnemonic
OP Code
Bytes
Cycles
TCALL n
nA
1
8
Example :
555 C1D1 0E
SAVE:
PUSH
A
556 C1D2 2E
PUSH
X
557 C1D3 4E
PUSH
Y
558
;
559 C1D4 3A
TCALL
3
560
;
561
ORG
0FFD8H
562 FFD8 D1C1
DW
SAVE
TCLR1
( Test and clear bits with A )
Function
: A
−−−−
( abs ), ( abs )
( abs )
( A )
Description : Tests whether the contents of memory is A or lower than A.
According to the result, the flag is effected.
Flag
:
Mnemonic
OP Code
Bytes
Cycles
TCLR1 !abs
5C
3
6
Example
:
459 C189 C420
LDA
#20H
460 C18B E4FF35
LDM
0035H,#0FFH
463 C18E 5C3500
TCLR1
!0035H