Tandy 1000 HX Technical Reference Manual page 191

Table of Contents

Advertisement

Instruction Set (cont)
Mnemonic
Branch (cont)
JC addr
JFO addr
JF1 addr
JMPaddr
JMPP@A
JNC addr
JNI addr
JNTO addr
JNTIaddr
JNZaddr
JTF addr
JTO addr
JT1 addr
JZ
Function
(PC0-PC7) — addr if C = 1
(PC) — (PC) + 2 if C = 0
(PC
0
-PC
7
) — addr if FO = 1
(PC) — (PC) + 2 if FO = 0
(PC0-PC7) — addr if F1 = 1
(PC) — (PC) + 2 if F1 = 0
(PC
8
-PC
10
) — (addr
8
-addr
10
)
(PC0-PC7) — (addr
o
-addr
7
)
(PCn) — D B F
(PC
0
-PC
7
) — ( ( A ) )
(PC0-PC7) — addr if C = 0
(PC) — (PC) + 2 if C = 1
(PC0-PC7) — addr if I = 0
(PC) *- (PC) + 2 if I = 1
(PC
0
-PC
7
) * - addr if TO = 0
(PC) — (PC) + 2 if TO = 1
(PC
0
-PC
7
) ^
addr if T1 = 0
(PC) — (PC) + 2 if T1 = 1
(PC
0
-PC
7
) — addr if A # 0
(PC) — (PC) + 2 if A = 0
(PC
0
-PC
7
) — addr if TF = 1
(PC) —(PC) + 2 i f T F = O
(PC
0
-PC
7
) — addr if TO = 1
(PC) — (PC) + 2 if TO = 0
( P C
0
- P C
7
) ^ a d d r i f T 1 = 1
(PC) — (PC) + 2 if T1 = 0
(PC0-PC7) — addr if A = 0
(PC) — (PC)
-H
2 if A = 1
Description
Jumps to the address specified by a
o
-a
7
if the carry flag is set.
Jumps to the address specified by ao-a7 if FO is set.
Jumps to the address specified by a
o
-a
7
if F1 is set.
Jumps directly to the address specified by an-aio and the DBF.
Replaces the lower 8 bits of the program counter with the contents
of program memory specified by the contents of the accumulator,
producing a jump to the specified address within the current page.
Jumps to the address specified by ao~a7 if the carry flag is not set.
Jumps to the address specified by a
o
-a
7
if the interrupt flag is not
set.
Jumps to the address specified by a
o
-a7 if test 0 is low.
Jumps to the address specified by a
o
-a
7
if test 1 is low.
Jumps to the address specified by ao~a7 if the contents of the
accumulator are not equal to 0.
Jumps to the address specified by ao~a7 if the timer flag is set.
The timer flag is cleared after the instruction is executed.
Jumps to the address specified by an-a7 if test 0 is high.
Jumps to the address specified by an-a7 if test 1 is high.
Jump to the address specified by a
o
-a
7
if the contents of the
accumulator are equal to 0.
Hex
Code
F6
B6
76
x4(6)
B3
E6
86
26
46
96
16
36
56
C6
D7
1
a7
1
a7
0
a7
aio
a7
1
1
a7
1
a7
0
a7
0
a7
1
a7
0
a7
0
a7
0
a7
1
a7
D
6
1
ae
0
ae
1
ae
ag
ae
0
1
ae
0
a6
0
ae
1
a6
0
ae
0
ae
0
ae
1
ae
1
ae
Operation Code
D
5
1
as
1
as
1
as
as
as
1
1
as
0
as
1
as
0
as
0
as
0
as
1
as
0
a5
0
as
D
4
1
a
4
1
a
4
1
a
4
0
a
4
1
0
a
4
0
a
4
0
a
4
0
a
4
1
a
4
1
a
4
1
a
4
1
a
4
0
a
4
D3
0
a3
0
a3
0
a3
0
a3
0
0
a3
0
a3
0
a3
0
a3
0
a3
0
a3
0
a3
0
a3
0
a3
D
2
1
a
2
1
a
2
1
a
2
1
a
2
0
1
a
2
1
a
2
1
a
2
1
a
2
1
a
2
1
a
2
1
a
2
1
a
2
1
a
2
Di
1
ai
1
ai
1
ai
0
ai
1
1
ai
1
ai
1
ai
1
ai
1
ai
1
ai
1
ai
1
ai
1
ai
D o
0
ao
0
ao
0
ao
0
ao
1
0
ao
0
ao
0
ao
0
ao
0
ao
0
ao
0
ao
0
ao
0
ao
Cycles
2
2
2
2
2
2
2
2
2
2
2
2
2
2
Bytes
2
2
2
2
1
2
2
2
2
2
2
2
2
2

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents