1
0
mirror of https://github.com/hsoft/collapseos.git synced 2024-11-24 03:38:05 +11:00
collapseos/tools/tests/zasm/test7.asm

39 lines
993 B
NASM
Raw Normal View History

.equ USER_CODE 0x4800
.equ USER_RAMSTART 0x5800
.equ FS_HANDLE_SIZE 8
2019-05-18 10:47:43 +10:00
; *** JUMP TABLE ***
.equ strncmp 0x03
.equ addDE 0x06
.equ addHL 0x09
.equ upcase 0x0c
.equ unsetZ 0x0f
.equ intoDE 0x12
.equ intoHL 0x15
.equ writeHLinDE 0x18
.equ findchar 0x1b
.equ parseHex 0x1e
.equ parseHexPair 0x21
.equ blkSel 0x24
.equ fsFindFN 0x27
.equ fsOpen 0x2a
.equ fsGetC 0x2d
.equ fsSeek 0x30
.equ fsTell 0x33
2019-05-19 05:18:19 +10:00
2019-05-28 01:22:38 +10:00
#include "zasm/const.asm"
#include "zasm/util.asm"
.equ IO_RAMSTART USER_RAMSTART
2019-05-19 05:45:36 +10:00
#include "zasm/io.asm"
.equ SYM_RAMSTART IO_RAMEND
#include "zasm/symbol.asm"
2019-05-19 09:59:58 +10:00
#include "zasm/parse.asm"
2019-05-19 10:31:52 +10:00
.equ TOK_RAMSTART SYM_RAMEND
#include "zasm/tok.asm"
.equ DIREC_RAMSTART TOK_RAMEND
#include "zasm/directive.asm"
2019-05-20 00:40:45 +10:00
#include "zasm/instr.asm"
2019-05-20 00:45:11 +10:00
#include "zasm/expr.asm"
2019-05-20 03:00:52 +10:00
.equ ZASM_RAMSTART TOK_RAMEND
#include "zasm/main.asm"