13.1. Processor

FIXME:

Tabulka 13.1. Registry

BRBase Register
HLHeap Lower bound register
SXStack Extent
FPFrame Pointer
PCProgram Counter
SPStack Pointer

Tabulka 13.2. Tabulka instrukcí

# popis
0NOPno operation, also word filler
1BZbranch if false: pop 2 words, ad the top word to PC if the next=0
2CALLpush PC; load PC from subroutin in popped word
3SYSsoftware interrupt
4ZEROpush 0
5ONEpush 1
6TWOpush 2
7THREEpush 3
8MTWOpush -2
9MONEpush -1
10PSH10-bit constant in instruction word
11PUSH32-bit constant (next word)
12LDFreplace top of stack from FP-based word it addresses
13STFpop 2 words, top is FP-based address, next is word to store
14GRFglobalize frame ref, then tag as GL-relative
15NEGnegate top of stack
16AND 
17ADD 
18MPY 
19DIV 
20EQU 
21LSS 
22ROT3 
23SWAP 
24POP 
25DUPE 
26RNG 
27GLOB 
28MZEROpush 0x80000000
29SOS 
30SHFT 
31ESC 
# popis
0ERRZ 
1EXIT 
2COCALL 
3ENTER 
4SIGNAL 
5WAIT 
6 reserved for future use
7 reserved for future use
8DEBUG 
9COPY 
10BYCPY 
11 reserved for future use
12LDD 
13STD 
14 reserved for future use
15FNEG 
16  
17FADD 
18FMPY 
19FDIV 
20FEQU 
21FLSS 
22FLEQ 
23BES 
24 reserved for future use
25 reserved for future use
26 reserved for future use
27 reserved for future use
28pSPpush SP-BR, from the value SP was before push
29pPCpush PC-BR
30pFPpush FP-BR
31pBRpush BR