-
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 or immediate mode instruction. Usually this error won't happen unless the code has been changed between the forward definition and the attempted resolution.
Example
.A 1800 JSR @D
.A 1800 INY
.A 1801 @D
The Symbol Error is a catch-all error for symbolic assembly issues. It can mean
- The label is invalid. There's a missing or illegal character after the label sigil (@). Valid labels are digits (0-9), letters (A-Z), and the forward reference label @&
- Too many symbols have been defined. Up to 18 labels may be defined, and up to 12 unresolved forward definitions can be stored
Example
.A 1000 ORA @#