User guide

For a successful assembly, the display will look like:
S:\Amélie>6502asm mybios.s65 mybios.img
6502asm v0.04 (11th June 2008) initialising...
Written by Rick Murray, email me at <heyrick1973 -at- yahoo.co.uk>
Assembling, pass 1...
Continued into file "appcode.s65"...
Assembling, pass 2...
Continued into file "appcode.s65"...
Saved 8192 bytes to "amebios.img" - &E000 to FFFF
6502asm v0.04 (11th June 2008) exited. Thank you for using this software.
Don't forget to check for newer versions and related software!
http://www.heyrick.co.uk/amelie/
S:\Amélie>
The file “mybios.img” will now contain the assembled BIOS image; as a raw dump; suitable for use with
AmélieEm or burning into EPROM.
Error messages
ERROR: Unable to open input file.
you may see this regarding the
output
file
Cannot open "
<filename>
" (error
<error code>
)
6502asm cannot open files specified using “long” names. Please use the DOS filename (probably
something like “APPLIC~1.S65”). The error code provided may give some clues to more
experienced users, if the reason for the problem is not evident.
ERROR: Unable to open opcode data table.
Is the “OPCODE.DAT” file present in the currently selected directory? If you are running
6502asm from a PIF or shortcut, ensure the “Working directory” is correctly set.
ERROR: Unable to allocate memory for opcode data table.
Free up some memory and try again...
Base address (&
<address>
) is higher than Top address (&
<address>
), cannot continue!
You’ve set BOT higher than the current TOP value.
Base address (&
<address>
) is same as Top address - nothing to save!
The end of the file has been reached and the bottom and top addresses match. Did you try to
assemble an empty file?
ERROR: Attempting to assign BOT to a higher address at line
<line>
.
(use "BOT &xxxx FORCE" if this is what you meant to do)
As it says – use the FORCE option if you intend to reassign the bottom marker to a higher address.
ERROR: Unable to extend label array.
There isn’t enough free memory to add a new label definition.
6502asm user guide – prerelease version
page 18