A2osX/BIN/FORTH.S.CP.txt
2020-11-25 10:36:30 +01:00

46 lines
779 B
Plaintext
Raw Blame History

This file contains invisible Unicode characters

This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

NEW
AUTO 3,1
*--------------------------------------
CP.RUN >LDYA J.KEYWORDS,x
clc
jmp EmitJsrYA
*--------------------------------------
CP.IF jsr EmitPullA
jsr EmitPullA
lda #$AA TAX
jsr EmitByte
lda #$10 BPL
jsr EmitByte
lda #3 skip JMP abs
jsr EmitByte
lda #$4C JMP
jsr EmitByte
ldy RP
lda ZPCodePtr+1
sta (pData),y
dey
lda ZPCodePtr
sta (pData),y
dey
sta RP
lda #0
jsr EmitByte
jmp EmitByte
*--------------------------------------
CP.ELSE
*--------------------------------------
CP.ENDIF
*--------------------------------------
MAN
SAVE usr/src/bin/forth.s.cp
LOAD usr/src/bin/forth.s
ASM