User guide

ERROR: Calculation too complex at line
<line>
.
The calculation ‘stack’ can only hold eight discrete items. Every number and operator is an item
in the stack, thus [1+2+3] is six items. Why six? Don’t forget the end-of-calculation marker.
ERROR: The instruction "
<instruction>
" is not recognised.
(at line
<line>
)
You have entered something that is not understood as a valid instruction or pseudo-instruction.
A common cause of this is forgetting the period before labels, for example:
mylabel
will be parsed as the instruction “myl”, which is not a valid instruction, hence this error message...
ERROR: Value is too large at line
<line>
.
An eight bit (0-255) result was expected.
ERROR: Unable to resolve label "
<label>
" (at line
<line>
).
The label (or its definition) has been incorrectly typed, or has not been defined.
WARN!: Use of CMOS instruction when NMOS processor specified;
"
<opcode>
" at line
<line>
...
You specified CPU NMOS and the assembler encountered a 65C02-only instruction.
ERROR: Unable to match opcode with addressing mode at line
<line>
.
[lots of addition information output]
You should not see this error. It occurs if the addressing mode cannot be determined from the
input; possibly due to a damaged opcode data file, possibly due to really screwy input.
ERROR: DCS or DCZ command with no string parameter at line
<line>
.
If you use DCS or DCZ, you must supply a parameter, even if it is a blank parameter, like:
DCS ""
ERROR: String contains \d value greater than &FF at line
<line>
.
You can only insert bytes into strings, so the \d values can only range from 0 to 255.
ERROR: Unrecognised escape code "\
<code>
" at line
<line>
.
( valid codes are \r \n \" \' \x## \d### and \0 )
6502asm does not support all of the escape codes that are supported by the C programming
language, i.e. \alert, \backspace, \tab, \octal, \?, etc).
ERROR: Memory overshoot at line
<line>
, current address is already &
<address>
!
This occurs if the assembly would pass beyond the &FFFF addressing range of the processor. The
following snippet illustrates this:
ROM
ORG &FFFD
DCW &1234
DCW &5678
DCW &9ABC
#commands not yet implemented!
You cannot currently use “preprocessor” commands such as #ifdef.
6502asm user guide – prerelease version
page 20