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

reset:
	cps

start:
	lda.q #$-FFFF
	ldb.q #-1

signshft:
	asr #1
	cab
	beq start
	jmp signshft

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