Skip to content

Commit 2cb2e09

Browse files
author
theBF
authored
Update HOW TO USE SEMI-CODE.FTH
1 parent 63bc60f commit 2cb2e09

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

SRC.DTC/HOW TO USE SEMI-CODE.FTH

+2-2
Original file line numberDiff line numberDiff line change
@@ -4,13 +4,13 @@
44
\ In Indirect threaded Forth the W register holds the DATA field address.
55

66
\ In CAMEL99 DTC Forth the "W" register that holds the CFA of a word is R5.
7-
\ The CFA of a DTC Forth word contain a branch & link instruction to an address.
7+
\ The CFA of a DTC Forth word contains a branch & link instruction to an address.
88
\ We COULD increment R5 register by 4 to get to the DATA field but
99
\ since we use a BL instruction to enter Forth DTC words we get the
1010
\ DATA field for free in R11. Neat trick.
1111

1212
\ So TMS9900 BL and R11 makes it just a easy as ITC to use ;CODE in DTC Forth
13-
\ by using R11.
13+
\ by getting the data field from R11.
1414

1515
\ DEMONSTRATION
1616
\ load the DTC Assembler. This will also give us ;CODE

0 commit comments

Comments
 (0)