figForth Word - BRANCH
Some parts of this page/site are currently incomplete & will be updated asap
Other parts will change continually so use “Refresh” in your browser !!
There is extensive use of “Tooltips” text to support learning which do
not seem to render on a Smartphone
BRANCH C2,L0
The run-time procedure to unconditionally branch. An in-line offset is added
to the interpretive pointer IP to branch ahead or back
BRANCH is compiled by ELSE, AGAIN, REPEAT
NFA: 0021B9 86 DB 86H
0021BA 4252414E 43 DB "BRANC"
0021BF C8 DB 'H'+80H
LFA: 0021C0 A921 DW EXEC-10
CFA: 0021C2 C421 BRAN: DW $+2
PFA: 0021C4 60 BRAN1: LD H,B
0021C5 69 LD L,C
0021C6 5E LD E,(HL)
0021C7 23 INC HL
0021C8 56 LD D,(HL)
0021C9 2B DEC HL
0021CA 19 ADD HL,DE
0021CB 4D LD C,L
0021CC 44 LD B,H
0021CD C3 E2 20 JP NEXT