Created
April 12, 2023 04:49
-
-
Save Ismael-VC/28039305bb0a685e69e84b11a85aeab0 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
( | |
LDA I | |
CMP J | |
BEQ EQL | |
BGE LBL | |
) | |
|10 @Console &vector $2 &read $1 &pad $5 &write $1 &error $1 | |
%DEBUG { #010e DEO } | |
|0000 | |
@I $1 | |
@J $1 | |
|0100 ( -> ) | |
#77 .I STZ | |
#42 .J STZ | |
( if ) [ .I LDZ .J LDZ GTHk ] ?LBL | |
DEBUG | |
#010f DEO | |
BRK | |
@LBL ( -- ) | |
#3118 DEO | |
JMP2r | |
( | |
Assembled test.rom in 34 bytes(0.05% used), 9 labels, 1 macros. | |
1<wst> 77 42 | |
<rst> empty | |
Return-stack underflow, by 6c at 0x0121. | |
) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment