DICTIONARY ENTRIES -----------------------------------------------------------------
How : DOUBLE DUP + ; really looks in memory:
pointer to previous word
^
|
+--|------+---+---+---+---+---+---+---+---+------------+------------+------------+------------+
| LINK | 6 | D | O | U | B | L | E | 0 | DOCOL | DUP | + | EXIT |
+---------+---+---+---+---+---+---+---+---+------------+--|---------+------------+------------+
^ len pad codeword |
| V
LINK in next word points to codeword of DUP
23
disassemble DOUBLE
0 0 8C 64: 0 0 8C 50 (next word pointer: foo)
hidden: 0, immediate: 0, length: 6, name: DOUBLE
0 0 8C 68: 55 4F 44 6
0 0 8C 6C: 0 45 4C 42
0 0 8C 70: 0 0 0 0 (codeword: forth)
0 0 8C 74: 0 0 5 E8 DUP
0 0 8C 78: 0 0 6 90 +
0 0 8C 7C: 0 0 7 8C EXIT
disassemble DUP
0 0 5 E0: 0 0 5 D0 (next word pointer: SWAP)
hidden: 0, immediate: 0, length: 3, name: DUP
0 0 5 E4: 50 55 44 3
0 0 5 E8: 0 0 0 32 (codeword: not forth)
WORD DUP
.s
35920 1504 7337 3 TELL
TEL
: WORDFIND WORD FIND ;
WORDFIND DUP
.
1504 HEX WORDFIND DUP .
5E0 WORDFIND DUP >CFA .
5E8 : TICK WORD FIND >CFA ;
TICK DUP .
5E8 DECIMAL
n
23