summaryrefslogtreecommitdiff
path: root/test/asr.s
blob: ca5eff1e831794f92e6a3a62bd77b17a6cbb53e3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
; Testing Signed shifts.
;
; Writen by mr b0nk 500 <b0nk@b0nk.xyz>

reset:
	cps

start:
	lda.q #$-FFFF

signshft:
	asr #$1
	cmp.q #$-1
	beq start
	jmp signshft

.org $FFC0
.qword reset
.org $0
done