File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ org 32768
2+ __START_PROGRAM:
3+ di
4+ push ix
5+ push iy
6+ exx
7+ push hl
8+ exx
9+ ld hl , 0
10+ add hl , sp
11+ ld (__CALL_BACK__) , hl
12+ ei
13+ jp __MAIN_PROGRAM__
14+ ZXBASIC_USER_DATA:
15+ ; Defines USER DATA Length in bytes
16+ ZXBASIC_USER_DATA_LEN EQU ZXBASIC_USER_DATA_END - ZXBASIC_USER_DATA
17+ .__LABEL__.ZXBASIC_USER_DATA_LEN EQU ZXBASIC_USER_DATA_LEN
18+ .__LABEL__.ZXBASIC_USER_DATA EQU ZXBASIC_USER_DATA
19+ ZXBASIC_USER_DATA_END:
20+ __MAIN_PROGRAM__:
21+ #line 0
22+ ld a , {{macro_value}}
23+ #line 1
24+ ld hl , 0
25+ ld b , h
26+ ld c , l
27+ __END_PROGRAM:
28+ di
29+ ld hl , (__CALL_BACK__)
30+ ld sp , hl
31+ exx
32+ pop hl
33+ exx
34+ pop iy
35+ pop ix
36+ ei
37+ ret
38+ __CALL_BACK__:
39+ DEFW 0
40+ END
Original file line number Diff line number Diff line change 1+ asm
2+ ld a, {{macro_value}}
3+ end asm
4+
You can’t perform that action at this time.
0 commit comments