Assembly Code Development: Difference between revisions

From F256 Foenix
Jump to navigationJump to search
(add merlin32)
(typo)
 
(3 intermediate revisions by 2 users not shown)
Line 1: Line 1:
Numerous assemblers are available for the 6502 family of CPUs.  Here are a few:
Numerous assemblers are available for the 6502 family of CPUs.  Here are a few:


;[[64tass]]  
;[[64tass]]
:65tass is the preferred assembler and includes the option to general .pgz binaries.
:64tass is the preferred assembler and includes the option to generate .pgz binaries.
an example of a usage of the CLI parameters to compile a .pgz executable (a favored choice) would be inside a windows .bat file:
 
64tass -c --output-exec=start --c256-pgz "%1.asm" api.asm --mw65c02 -Wno-portable -o "%1.pgz"
 
(where %1 is replaced by your file's prefix, api.asm can be removed or replaced by any number of definition files)


;[https://shop-pdp.net/ashtml/asxget.php as6502]  
;[https://shop-pdp.net/ashtml/asxget.php as6502]  

Latest revision as of 09:29, 2 November 2024

Numerous assemblers are available for the 6502 family of CPUs. Here are a few:

64tass
64tass is the preferred assembler and includes the option to generate .pgz binaries.

an example of a usage of the CLI parameters to compile a .pgz executable (a favored choice) would be inside a windows .bat file:

64tass -c --output-exec=start --c256-pgz "%1.asm" api.asm --mw65c02 -Wno-portable -o "%1.pgz"

(where %1 is replaced by your file's prefix, api.asm can be removed or replaced by any number of definition files)

as6502
as6502 is an older, more traditional Relocatable Macro Assembler. It's part of an entire suite of 8-bit assemblers which all use the same linker.
merlin32
Merlin32 is a modern version of the Merlin 8/16 Macro Assemblers. Familiar to many Apple II programmers of the day, it also completely supports 65816, and runs on Mac, Windows, and Linux.