2019-05-27 11:22:38 -04:00
|
|
|
; *** Errors ***
|
2019-06-04 11:53:02 -04:00
|
|
|
; We start error at 0x10 to avoid overlapping with shell errors
|
2019-05-27 11:22:38 -04:00
|
|
|
; Unknown instruction or directive
|
2019-06-04 11:53:02 -04:00
|
|
|
.equ ERR_UNKNOWN 0x11
|
2019-05-27 11:22:38 -04:00
|
|
|
|
|
|
|
; Bad argument: Doesn't match any constant argspec or, if an expression,
|
|
|
|
; contains references to undefined symbols.
|
2019-06-04 11:53:02 -04:00
|
|
|
.equ ERR_BAD_ARG 0x12
|
2019-05-27 11:22:38 -04:00
|
|
|
|
2019-05-27 11:58:12 -04:00
|
|
|
; Code is badly formatted (comma without a following arg, unclosed quote, etc.)
|
2019-06-04 11:53:02 -04:00
|
|
|
.equ ERR_BAD_FMT 0x13
|
2019-05-27 12:12:21 -04:00
|
|
|
|
|
|
|
; Value specified doesn't fit in its destination byte or word
|
2019-06-04 11:53:02 -04:00
|
|
|
.equ ERR_OVFL 0x14
|
2019-05-27 14:21:46 -04:00
|
|
|
|
2019-06-04 11:53:02 -04:00
|
|
|
.equ ERR_FILENOTFOUND 0x15
|
2019-05-27 17:45:05 -04:00
|
|
|
|
|
|
|
; Duplicate symbol
|
2019-06-04 11:53:02 -04:00
|
|
|
.equ ERR_DUPSYM 0x16
|
2019-05-27 17:45:05 -04:00
|
|
|
|
|
|
|
; Out of memory
|
2019-06-04 11:53:02 -04:00
|
|
|
.equ ERR_OOM 0x17
|
2019-06-03 11:13:31 -04:00
|
|
|
|
|
|
|
; *** Other ***
|
|
|
|
.equ ZASM_DEBUG_PORT 42
|