Created
May 21, 2019 01:27
-
-
Save glickbot/8a5a4a86ae4dbc73cf0ab585f0347501 to your computer and use it in GitHub Desktop.
First 6502 ASM
This file contains hidden or 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
reset: | |
LDY #$01 | |
begin: | |
CLC | |
LDA #$00 | |
loop: | |
TAX | |
TYA | |
STA $200,X | |
TXA | |
ADC #$01 | |
BCC loop | |
INY | |
CPY #$10 | |
BNE begin | |
JMP reset |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment