Created
April 24, 2015 01:05
-
-
Save ahirschberg/8ffe6341ac2c509a513b 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
| LDX #$00 ; load #00 into x | |
| LDY #$01 | |
| loop: | |
| INX ; increment X | |
| STX $0200 ; draw a pixel of color x to screen at top left corner | |
| BCS done | |
| BNE loop ; any way to loop without checking anything? | |
| done: | |
| BRK |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment