Tandy 1000 HX Technical Reference Manual page 195

Table of Contents

Advertisement

Instruction Set (cont)
Mnemonic
Subroutine
CALL addr
R E T
RETR
Timer/Counter
EN TCNTI
DISTCNTI
MOV A, T
MOV T, A
STOPTCNT
STRT CNT
STRTT
Miscellaneous
NOP
Function
((SP)) — (PC), (PSW
4
-PSW
7
)
(SP) — (SP) + 1
(PC
8
-PC
10
) — (addr
8
-addr
10
)
(PC0-PC7) — (addr
o
-addr
7
)
(PCu) — DBF
(SP) — (SP) - 1
(PC) —((SP))
(SP) — (SP) - 1
(PC) —((SP))
(PSW4-PSW7) — ((SP))
(A)-(T)
(T) — (A)
Description
Stores the contents of the program counter and the upper 4 bits of
the PSW in the address indicated by the stack pointer, and
increments the contents of the stack pointer, calling the subroutine
specified by address a
o
-a
1 o
and the DBF.
Decrements the contents of the stack pointer by 1 and stores, in
the program counter, the contents of the location specified by the
stack pointer, executing a return from subroutine without restoring
the PSW.
Decrements the contents of the stack pointer by 1 and stores, in
the program counter, the contents of the upper 4 bits of the PSW
and the contents of the location specified by the stack pointer,
executing a return from subroutine with restoration of the PSW.
Enables internal interrupt of timer / event counter. If an overflow
condition occurs, then an interrupt will be generated.
Disables internal interrupt of timer / event counter.
Moves the contents of the timer/ counter into the accumulator.
Moves the contents of the accumulator into the timer / counter.
Stops the operation of the timer / event counter.
Starts the event counter operation of the timer / counter when T1
changes from a low-level input to a high-level input.
Starts the timer operation of the timer/counter. The timer is
incremented every 32 machine cycles.
Uses one machine cycle without performing any operation.
H*x
Cod*
x4(6)
83
93
25
35
42
62
65
45
55
00
aio
a7
1
1
0
0
0
0
0
0
0
0
D
6
ag
as
0
0
0
0
1
1
1
1
1
0
Operation Cod*
< > 5
as
as
0
0
1
1
0
1
1
0
0
0
D
4
1
a4
0
1
0
1
0
0
0
0
1
0
D3
0
a3
0
0
0
0
0
0
0
0
0
0
D
2
1
a
2
0
0
1
1
0
0
1
1
1
0
l>1
0
ai
1
1
0
0
1
1
0
0
0
0
D o
0
ao
1
1
1
1
0
0
1
1
1
0
Cycles
2
2
2
1
1
1
1
1
1
1
1
Bytes
2
1
1
1
1
1
1
1
1
1
1

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents