home *** CD-ROM | disk | FTP | other *** search
- Cross64 v0.03 6510 Cross assembler
- ------------------------------------
-
- INTRODUCTION
-
- Cross64 is a cross assembler for the CMOS 6510 processor used in
- Commodore 64. It is written in portable ANSI-C, so it should be
- compilable on just about any computer system there is. Cross64 has
- been developed on an Amiga 1200 running AmigaOS with SAS/C compiler
- version 6.58.
-
- Features:
-
- - assembles all standard 6510 machine code instructions and addressing
- modes
- - case insensitivity
- - user definable labels (either constant or address labels)
- - optionally prints out the source, compiled code and defined labels
- for debugging purposes
-
- USAGE
-
- cross64 [-<options>] <source> [<executable>]
-
- The <options> are defined as a string of characters preceded with a
- '-' character. <source> is the name of the source file. <executable>
- is the name of the executable file. If no <executable> is given, the
- name will be constructed from the <source> by replacing the suffix
- with '.prg'.
-
- Available options:
-
- s Prints the source code with line numbers.
- a Prints the compiled code with line numbers, hex values and
- source code.
- l Prints the labels defined in the soource.
-
- SPECIAL COMMANDS
-
- ORG <address>
-
- Specifies the address in C64 memory where all following code will be
- placed. Must be specified before the first machine code instruction.
- Can be used multiple times. However, no "backwards jumping" allowed,
- ie. the address must be greater than the current Program Counter.
-
- .BYTE or DC.B <byte>[,<byte>,...]
-
- Defines byte data.
-
- .WORD or DC.W <word>[,<word>,...]
-
- Defines word data.
-
- INCBIN <filename> (not implemented)
-
- Inserts the contents of a binary file in the program.
-
- DS.B <amount>
-
- Defines an empty area of <amount> bytes.
-
- DS.W <amount>
-
- Defines an empty area of <amount> words.
-
- HISTORY
-
- v0.03 (03.09.97):
- - first working version
- - compiling simple programs is possible
-