1ATASM(1) General Commands Manual ATASM(1)
2
3
4
6 atasm - assembler targeted for the 6502 CPU with Atari-specific fea‐
7 tures
8
10 atasm [options] filename
11
13 atasm assembles 6502 code to an Atari DOS executable, an Atari XFD disk
14 image, or a raw binary file.
15
16 The syntax used is compatible with the Atari 8-bit assembler MAC/65,
17 with a few extensions (notably 6502 illegal opcode support)
18
20 -ofilename
21 saves the object file to filename instead of sourcefile [.65o]
22
23
24 -Dsymbol=value
25 Defines symbol to value before assembly begins. This is equiva‐
26 lent to inserting a line like symbol=value before the first line
27 of the source file.
28
29
30 -Idirectory
31 specifies a search directory for .INCLUDE directives
32
33
34 -v prints assembly trace.
35
36
37 -s prints symbol table when assembly is completed.
38
39
40 -u enables undocumented opcodes. This is equivalent to using the
41 .OPTILL in the source file. Notice that this command-line
42 paramter is overriden by any directives in the source files.
43
44
45 -mfilename
46 defines the template emulator state file.
47
48
49 -xfilename
50 saves object file to .XFD image filename
51
52
53 -r saves object code as a raw binary image
54
55
56 -fvalue
57 set the raw binary fill byte to value
58
59
61 This man page is nowhere near complete. For full documentation, see
62 %/usr/share/doc/atasm%/atasm.txt
63
64
65
66Contributed Software April 2015 ATASM(1)