1
0
mirror of https://github.com/hsoft/collapseos.git synced 2024-11-08 15:58:05 +11:00
collapseos/apps/zasm/const.asm

22 lines
510 B
NASM
Raw Normal View History

2019-05-28 01:22:38 +10:00
; *** Errors ***
; Unknown instruction or directive
.equ ERR_UNKNOWN 0x01
; Bad argument: Doesn't match any constant argspec or, if an expression,
; contains references to undefined symbols.
.equ ERR_BAD_ARG 0x02
2019-05-28 01:58:12 +10:00
; Code is badly formatted (comma without a following arg, unclosed quote, etc.)
.equ ERR_BAD_FMT 0x03
2019-05-28 02:12:21 +10:00
; Value specified doesn't fit in its destination byte or word
.equ ERR_OVFL 0x04
.equ ERR_FILENOTFOUND 0x05
; Duplicate symbol
.equ ERR_DUPSYM 0x06
; Out of memory
.equ ERR_OOM 0x07