Skip to content

Commit 33a332c

Browse files
committed
Update tests
1 parent 9b7fa9f commit 33a332c

747 files changed

Lines changed: 13358 additions & 15848 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

tests/functional/00.asm

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
org 32768
2-
core.__START_PROGRAM:
2+
.core.__START_PROGRAM:
33
di
44
push ix
55
push iy
@@ -8,26 +8,26 @@ core.__START_PROGRAM:
88
exx
99
ld hl, 0
1010
add hl, sp
11-
ld (core.__CALL_BACK__), hl
11+
ld (.core.__CALL_BACK__), hl
1212
ei
13-
jp core.__MAIN_PROGRAM__
14-
core.__CALL_BACK__:
13+
jp .core.__MAIN_PROGRAM__
14+
.core.__CALL_BACK__:
1515
DEFW 0
16-
core.ZXBASIC_USER_DATA:
16+
.core.ZXBASIC_USER_DATA:
1717
; Defines USER DATA Length in bytes
18-
core.ZXBASIC_USER_DATA_LEN EQU core.ZXBASIC_USER_DATA_END - core.ZXBASIC_USER_DATA
19-
core.__LABEL__.ZXBASIC_USER_DATA_LEN EQU core.ZXBASIC_USER_DATA_LEN
20-
core.__LABEL__.ZXBASIC_USER_DATA EQU core.ZXBASIC_USER_DATA
18+
.core.ZXBASIC_USER_DATA_LEN EQU .core.ZXBASIC_USER_DATA_END - .core.ZXBASIC_USER_DATA
19+
.core.__LABEL__.ZXBASIC_USER_DATA_LEN EQU .core.ZXBASIC_USER_DATA_LEN
20+
.core.__LABEL__.ZXBASIC_USER_DATA EQU .core.ZXBASIC_USER_DATA
2121
_a:
2222
DEFB 00, 00, 00, 00, 00
23-
core.ZXBASIC_USER_DATA_END:
24-
core.__MAIN_PROGRAM__:
23+
.core.ZXBASIC_USER_DATA_END:
24+
.core.__MAIN_PROGRAM__:
2525
ld hl, 0
2626
ld b, h
2727
ld c, l
28-
core.__END_PROGRAM:
28+
.core.__END_PROGRAM:
2929
di
30-
ld hl, (core.__CALL_BACK__)
30+
ld hl, (.core.__CALL_BACK__)
3131
ld sp, hl
3232
exx
3333
pop hl

tests/functional/02.asm

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
org 32768
2-
core.__START_PROGRAM:
2+
.core.__START_PROGRAM:
33
di
44
push ix
55
push iy
@@ -8,26 +8,26 @@ core.__START_PROGRAM:
88
exx
99
ld hl, 0
1010
add hl, sp
11-
ld (core.__CALL_BACK__), hl
11+
ld (.core.__CALL_BACK__), hl
1212
ei
13-
jp core.__MAIN_PROGRAM__
14-
core.__CALL_BACK__:
13+
jp .core.__MAIN_PROGRAM__
14+
.core.__CALL_BACK__:
1515
DEFW 0
16-
core.ZXBASIC_USER_DATA:
16+
.core.ZXBASIC_USER_DATA:
1717
; Defines USER DATA Length in bytes
18-
core.ZXBASIC_USER_DATA_LEN EQU core.ZXBASIC_USER_DATA_END - core.ZXBASIC_USER_DATA
19-
core.__LABEL__.ZXBASIC_USER_DATA_LEN EQU core.ZXBASIC_USER_DATA_LEN
20-
core.__LABEL__.ZXBASIC_USER_DATA EQU core.ZXBASIC_USER_DATA
18+
.core.ZXBASIC_USER_DATA_LEN EQU .core.ZXBASIC_USER_DATA_END - .core.ZXBASIC_USER_DATA
19+
.core.__LABEL__.ZXBASIC_USER_DATA_LEN EQU .core.ZXBASIC_USER_DATA_LEN
20+
.core.__LABEL__.ZXBASIC_USER_DATA EQU .core.ZXBASIC_USER_DATA
2121
_a:
2222
DEFB 00, 00
23-
core.ZXBASIC_USER_DATA_END:
24-
core.__MAIN_PROGRAM__:
23+
.core.ZXBASIC_USER_DATA_END:
24+
.core.__MAIN_PROGRAM__:
2525
ld hl, 0
2626
ld b, h
2727
ld c, l
28-
core.__END_PROGRAM:
28+
.core.__END_PROGRAM:
2929
di
30-
ld hl, (core.__CALL_BACK__)
30+
ld hl, (.core.__CALL_BACK__)
3131
ld sp, hl
3232
exx
3333
pop hl

tests/functional/03.asm

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
org 32768
2-
core.__START_PROGRAM:
2+
.core.__START_PROGRAM:
33
di
44
push ix
55
push iy
@@ -8,26 +8,26 @@ core.__START_PROGRAM:
88
exx
99
ld hl, 0
1010
add hl, sp
11-
ld (core.__CALL_BACK__), hl
11+
ld (.core.__CALL_BACK__), hl
1212
ei
13-
jp core.__MAIN_PROGRAM__
14-
core.__CALL_BACK__:
13+
jp .core.__MAIN_PROGRAM__
14+
.core.__CALL_BACK__:
1515
DEFW 0
16-
core.ZXBASIC_USER_DATA:
16+
.core.ZXBASIC_USER_DATA:
1717
; Defines USER DATA Length in bytes
18-
core.ZXBASIC_USER_DATA_LEN EQU core.ZXBASIC_USER_DATA_END - core.ZXBASIC_USER_DATA
19-
core.__LABEL__.ZXBASIC_USER_DATA_LEN EQU core.ZXBASIC_USER_DATA_LEN
20-
core.__LABEL__.ZXBASIC_USER_DATA EQU core.ZXBASIC_USER_DATA
18+
.core.ZXBASIC_USER_DATA_LEN EQU .core.ZXBASIC_USER_DATA_END - .core.ZXBASIC_USER_DATA
19+
.core.__LABEL__.ZXBASIC_USER_DATA_LEN EQU .core.ZXBASIC_USER_DATA_LEN
20+
.core.__LABEL__.ZXBASIC_USER_DATA EQU .core.ZXBASIC_USER_DATA
2121
_a:
2222
DEFB 00
23-
core.ZXBASIC_USER_DATA_END:
24-
core.__MAIN_PROGRAM__:
23+
.core.ZXBASIC_USER_DATA_END:
24+
.core.__MAIN_PROGRAM__:
2525
ld hl, 0
2626
ld b, h
2727
ld c, l
28-
core.__END_PROGRAM:
28+
.core.__END_PROGRAM:
2929
di
30-
ld hl, (core.__CALL_BACK__)
30+
ld hl, (.core.__CALL_BACK__)
3131
ld sp, hl
3232
exx
3333
pop hl

tests/functional/04.asm

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
org 32768
2-
core.__START_PROGRAM:
2+
.core.__START_PROGRAM:
33
di
44
push ix
55
push iy
@@ -8,26 +8,26 @@ core.__START_PROGRAM:
88
exx
99
ld hl, 0
1010
add hl, sp
11-
ld (core.__CALL_BACK__), hl
11+
ld (.core.__CALL_BACK__), hl
1212
ei
13-
jp core.__MAIN_PROGRAM__
14-
core.__CALL_BACK__:
13+
jp .core.__MAIN_PROGRAM__
14+
.core.__CALL_BACK__:
1515
DEFW 0
16-
core.ZXBASIC_USER_DATA:
16+
.core.ZXBASIC_USER_DATA:
1717
; Defines USER DATA Length in bytes
18-
core.ZXBASIC_USER_DATA_LEN EQU core.ZXBASIC_USER_DATA_END - core.ZXBASIC_USER_DATA
19-
core.__LABEL__.ZXBASIC_USER_DATA_LEN EQU core.ZXBASIC_USER_DATA_LEN
20-
core.__LABEL__.ZXBASIC_USER_DATA EQU core.ZXBASIC_USER_DATA
18+
.core.ZXBASIC_USER_DATA_LEN EQU .core.ZXBASIC_USER_DATA_END - .core.ZXBASIC_USER_DATA
19+
.core.__LABEL__.ZXBASIC_USER_DATA_LEN EQU .core.ZXBASIC_USER_DATA_LEN
20+
.core.__LABEL__.ZXBASIC_USER_DATA EQU .core.ZXBASIC_USER_DATA
2121
_a:
2222
DEFB 00, 00
23-
core.ZXBASIC_USER_DATA_END:
24-
core.__MAIN_PROGRAM__:
23+
.core.ZXBASIC_USER_DATA_END:
24+
.core.__MAIN_PROGRAM__:
2525
ld hl, 0
2626
ld b, h
2727
ld c, l
28-
core.__END_PROGRAM:
28+
.core.__END_PROGRAM:
2929
di
30-
ld hl, (core.__CALL_BACK__)
30+
ld hl, (.core.__CALL_BACK__)
3131
ld sp, hl
3232
exx
3333
pop hl

tests/functional/05.asm

Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
org 32768
2-
core.__START_PROGRAM:
2+
.core.__START_PROGRAM:
33
di
44
push ix
55
push iy
@@ -8,18 +8,18 @@ core.__START_PROGRAM:
88
exx
99
ld hl, 0
1010
add hl, sp
11-
ld (core.__CALL_BACK__), hl
11+
ld (.core.__CALL_BACK__), hl
1212
ei
13-
jp core.__MAIN_PROGRAM__
14-
core.__CALL_BACK__:
13+
jp .core.__MAIN_PROGRAM__
14+
.core.__CALL_BACK__:
1515
DEFW 0
16-
core.ZXBASIC_USER_DATA:
16+
.core.ZXBASIC_USER_DATA:
1717
; Defines USER DATA Length in bytes
18-
core.ZXBASIC_USER_DATA_LEN EQU core.ZXBASIC_USER_DATA_END - core.ZXBASIC_USER_DATA
19-
core.__LABEL__.ZXBASIC_USER_DATA_LEN EQU core.ZXBASIC_USER_DATA_LEN
20-
core.__LABEL__.ZXBASIC_USER_DATA EQU core.ZXBASIC_USER_DATA
18+
.core.ZXBASIC_USER_DATA_LEN EQU .core.ZXBASIC_USER_DATA_END - .core.ZXBASIC_USER_DATA
19+
.core.__LABEL__.ZXBASIC_USER_DATA_LEN EQU .core.ZXBASIC_USER_DATA_LEN
20+
.core.__LABEL__.ZXBASIC_USER_DATA EQU .core.ZXBASIC_USER_DATA
2121
_a:
22-
DEFW __LABEL0
22+
DEFW .LABEL.__LABEL0
2323
_a.__DATA__.__PTR__:
2424
DEFW _a.__DATA__
2525
_a.__DATA__:
@@ -34,17 +34,17 @@ _a.__DATA__:
3434
DEFB 00h
3535
DEFB 00h
3636
DEFB 00h
37-
__LABEL0:
37+
.LABEL.__LABEL0:
3838
DEFW 0000h
3939
DEFB 01h
40-
core.ZXBASIC_USER_DATA_END:
41-
core.__MAIN_PROGRAM__:
40+
.core.ZXBASIC_USER_DATA_END:
41+
.core.__MAIN_PROGRAM__:
4242
ld hl, 0
4343
ld b, h
4444
ld c, l
45-
core.__END_PROGRAM:
45+
.core.__END_PROGRAM:
4646
di
47-
ld hl, (core.__CALL_BACK__)
47+
ld hl, (.core.__CALL_BACK__)
4848
ld sp, hl
4949
exx
5050
pop hl

tests/functional/053opt.asm

Lines changed: 29 additions & 29 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
org 32768
2-
core.__START_PROGRAM:
2+
.core.__START_PROGRAM:
33
di
44
push ix
55
push iy
@@ -8,61 +8,61 @@ core.__START_PROGRAM:
88
exx
99
ld hl, 0
1010
add hl, sp
11-
ld (core.__CALL_BACK__), hl
11+
ld (.core.__CALL_BACK__), hl
1212
ei
13-
jp core.__MAIN_PROGRAM__
14-
core.__CALL_BACK__:
13+
jp .core.__MAIN_PROGRAM__
14+
.core.__CALL_BACK__:
1515
DEFW 0
16-
core.ZXBASIC_USER_DATA:
16+
.core.ZXBASIC_USER_DATA:
1717
; Defines USER DATA Length in bytes
18-
core.ZXBASIC_USER_DATA_LEN EQU core.ZXBASIC_USER_DATA_END - core.ZXBASIC_USER_DATA
19-
core.__LABEL__.ZXBASIC_USER_DATA_LEN EQU core.ZXBASIC_USER_DATA_LEN
20-
core.__LABEL__.ZXBASIC_USER_DATA EQU core.ZXBASIC_USER_DATA
18+
.core.ZXBASIC_USER_DATA_LEN EQU .core.ZXBASIC_USER_DATA_END - .core.ZXBASIC_USER_DATA
19+
.core.__LABEL__.ZXBASIC_USER_DATA_LEN EQU .core.ZXBASIC_USER_DATA_LEN
20+
.core.__LABEL__.ZXBASIC_USER_DATA EQU .core.ZXBASIC_USER_DATA
2121
_subeEgg:
2222
DEFB 00
2323
_sail:
2424
DEFB 00
25-
core.ZXBASIC_USER_DATA_END:
26-
core.__MAIN_PROGRAM__:
25+
.core.ZXBASIC_USER_DATA_END:
26+
.core.__MAIN_PROGRAM__:
2727
ld a, (_sail)
2828
dec a
29-
jp nz, __LABEL1
29+
jp nz, .LABEL.__LABEL1
3030
ld a, (_subeEgg)
3131
or a
32-
jp nz, __LABEL3
32+
jp nz, .LABEL.__LABEL3
3333
ld a, (40011)
3434
ld hl, (40043 - 1)
3535
cp h
36-
jp nc, __LABEL5
36+
jp nc, .LABEL.__LABEL5
3737
ld a, (40044)
3838
ld hl, (40012 - 1)
3939
sub h
40-
call core.__ABS8
40+
call .core.__ABS8
4141
push af
4242
ld h, 16
4343
pop af
44-
call core.__LTI8
44+
call .core.__LTI8
4545
or a
46-
jp z, __LABEL7
46+
jp z, .LABEL.__LABEL7
4747
ld a, (40011)
4848
ld hl, (40043 - 1)
4949
sub h
50-
call core.__ABS8
50+
call .core.__ABS8
5151
push af
5252
ld h, 20
5353
pop af
54-
call core.__LTI8
54+
call .core.__LTI8
5555
or a
56-
jp nz, __LABEL__enddispara
57-
__LABEL9:
58-
__LABEL7:
59-
__LABEL5:
60-
__LABEL3:
61-
__LABEL1:
62-
jp __LABEL__enddispara
63-
core.__END_PROGRAM:
56+
jp nz, .LABEL.__LABEL__enddispara
57+
.LABEL.__LABEL9:
58+
.LABEL.__LABEL7:
59+
.LABEL.__LABEL5:
60+
.LABEL.__LABEL3:
61+
.LABEL.__LABEL1:
62+
jp .LABEL.__LABEL__enddispara
63+
.core.__END_PROGRAM:
6464
di
65-
ld hl, (core.__CALL_BACK__)
65+
ld hl, (.core.__CALL_BACK__)
6666
ld sp, hl
6767
exx
6868
pop hl
@@ -71,11 +71,11 @@ core.__END_PROGRAM:
7171
pop ix
7272
ei
7373
ret
74-
__LABEL__enddispara:
74+
.LABEL.__LABEL__enddispara:
7575
ld hl, 0
7676
ld b, h
7777
ld c, l
78-
jp core.__END_PROGRAM
78+
jp .core.__END_PROGRAM
7979
;; --- end of user code ---
8080
#line 1 "/zxbasic/src/arch/zx48k/library-asm/abs8.asm"
8181
; Returns absolute value for 8 bit signed integer

0 commit comments

Comments
 (0)