<--  back   Last regenerated: 2022-04-20 17:31:36 kio

zasm - Z80 Assembler – Version 4.4

Command Line Options

--target=ram

[4.4.6] Assembler directives: #if, #elif, #else, #endif
Pseudo instructions: if, endif
If you assemble an old source which uses no Assembler directives: #target
Including C Source Files: #target
#target directive then the target is 'rom' by default. This makes a tiny difference for the #code: Fill Byte
#code: Fill Byte
fillbyte ($FF instead of $00) and a big difference Assembler directives: #if, #elif, #else, #endif
Pseudo instructions: if, endif
if you write the output to a hex file which include addresses: target 'rom' stores addresses starting from $0000 for an eprom burner, while target 'ram' stores addresses as Pseudo instructions: defl, set and '='
Labels: SET
set in the Assembler directives: #code
Including C Source Files: #code
#code directives or by the '.org' pseudo opcode suitable for a ram downloader. This Differences from v3 to v4: Command line options
Command Line Options
Command Line Options: Command line options
command line option – in combination with -x or -s – allows to create hex files for downloading to ram without the use of the Assembler directives: #target
Including C Source Files: #target
#target directive.

Valid HTML   Valid CSS