~swisschili/toolchain-6502

ref: c382994c73972918bc7723b5b7836c74e8e92bd6 toolchain-6502/as/test/test-abs-jump.s -rw-r--r-- 303 bytes
c382994cswissChili Start work on preprocessor 5 months ago
                                                                                
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
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