summaryrefslogtreecommitdiff
path: root/test/test-the-tests.s
blob: 314ed454f3d749ca72cfee04f102e4835748da4a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
.org $0000
init:
cps

lstart:
lda #$01

lshft:
lsl #$1
bcs rstart
jmp lshft

rstart:
lda.q #$8000000000000000

rshft:
lsr #$1
bcs lstart
jmp rshft


.org $8000
init2:
cps

lstart2:
lda #$01

lshft2:
lsl #$1
bcs rstart2
jmp lshft2

rstart2:
lda.q #$8000000000000000

rshft2:
lsr #$1
bcs lstart2
jmp rshft2

.org $FFC0
.qword init

.org $FF50
.qword init2
done