summaryrefslogtreecommitdiff
path: root/test/asr.s
blob: a3b72c014364f7e1e01c58df6213fed54dc54927 (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 #0
	sbc #$FFFF
	ldb #0
	deb
signshft:
	asr #1
	cab
	beq start
	jmp signshft

.org $FFC0
.qword reset

a
done