forked from skilldrick/6502js
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdict.txt
48 lines (35 loc) · 790 Bytes
/
dict.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
; Execute the WA on the stack
EXECUTE
; Push to / pop from the return stack
<R, R>
; Stack ops
OVER, DROP, DUP, RROT, LROT, SWAP,
; Logic ops (logical and bitwise)
LAND, LOR, AND, OR, XOR, NOT
; math
MOD/, /, *
!, C! ;store word, store byte (store swp . at .)
@, C@ ;fetch word, fetch byte
; more math
+, -, 2COMP, ABS
; comparisons
=, <, >, <=, >=, 0=, 0<
;???
CONSTANT, VARIABLE,
BASE ;number base
MODE ;does various things
CONTEXT
CURRENT
COMPILER ;pointer to head of compiler dict
SP, RSP
SPB, RSPB
DP,
',' , 'C,', SP@, SP!, DP@, DP!,
ENTRY, CA!,
CREAT, :, IMMEDIATE
(TODO) `,
(TODO slightly after:) if while, etc handlers
DECIM, HEX,
QUEST, ?STAC, ?NUMB, NUMBE, SINGL,
BRK, .S, D., ., DISPL, DIGAS, ASCII, ECHO, CLEAR,
SEARC, ASPAC, TOKEN, INLIN, TYPE, START, NULL,