Created
July 10, 2018 20:40
-
-
Save blackknight36/bd151d103ed757661c46deb80c32300f to your computer and use it in GitHub Desktop.
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
This code fills the screen with a solid color. To test run this code at https://skilldrick.github.io/easy6502/ | |
LDA #$03 | |
LDX #$00 | |
loop: | |
STA $0200, X | |
STA $0300, X | |
ASL $0300, X | |
STA $0400, X | |
STA $0500, X | |
INX | |
BNE loop | |
;LDA #$04 | |
;LDX #$00 | |
;loop3: | |
; STA $0200,X ; absolute indexed addressing | |
; INX | |
; BNE loop3 | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment