-
Notifications
You must be signed in to change notification settings - Fork 2
wAx Error Messages
wAx adds several additional BASIC error messages, which can occur in both direct mode and during BASIC program execution.
You'll get an Assembly Error during any invalid assembly operation during the Assemble command, including bad syntax, unknown instructions, out-of-range operands, etc.
Example
.A 1000 STA #$42
The Mismatch Error indicates that one or more of the true/false assertions failed during the = command. This may indicate that a unit test has failed.
Example
.= C000 42
The Too Far Error indicates that the relative branch operand is out of range.
Example
.A 1800 BCC $4200
The Can't Resolve Error indicates that a forward definition cannot be resolved. The instruction at the forward definition address is either an illegal, implied, or accumulator mode instruction. Usually this error won't happen unless the code has been changed between the forward definition and the attempted resolution, although it could also occur from corruption of the symbol table.
Example
.A 1800 JSR @D
.A 1800 INY ; NOTE ADDRESS
.A 1801 @D
The Symbol Error is a catch-all error for symbolic assembly issues. It can mean
- The symbol name is invalid. There's a missing or illegal character after the @ sigil. Valid names are letters (A ~ Z), numerals (0 ~ 9), @, and the forward reference symbol @&
- Too many symbols have been defined. Up to 18 symbols may be defined, and up to 12 unresolved forward definitions can be stored
Example
.A 1000 ORA @#