commit | c382994c73972918bc7723b5b7836c74e8e92bd6 | [log] [tgz] |
---|---|---|
author | swissChili <swisschili@fastmail.com> | Sun Sep 06 19:36:04 2020 -0700 |
committer | swissChili <swisschili@fastmail.com> | Sun Sep 06 19:36:04 2020 -0700 |
tree | 850f29bcbbc8d8aa6389a151c59f23eeec5bc3ee | |
parent | 6a923012793c195cbc1bdbd5e4d6f6c3b680f37b [diff] [blame] |
Start work on preprocessor
diff --git a/as/test/test-abs-jump.s b/as/test/test-abs-jump.s new file mode 100644 index 0000000..07441cc --- /dev/null +++ b/as/test/test-abs-jump.s
@@ -0,0 +1,16 @@ +;;; This program should test for a bug involving endianness. + +start: + lda #$FF + sta $200 ; Put something on the screen, just to see + jmp second-pixel + brk + +second-pixel: + lda #$E0 ; Red + sta $201 + sta $220 + sta $221 ; Draw a box around the white pixel + +loop: ; Infinite loop + jmp loop