<--  back   Last regenerated: 2018-05-23 16:12:32 kio

zasm - Z80 Assembler – Version 4.2

Assembler directives

#! (Shebang)

#!/usr/local/bin zasm --Command Line Options: --flatops, .flatops, _flatops_
Commands for command line options: --flatops, .flatops, _flatops_
flatops -uwy -x

A line starting with '#!' is effectively ignored by the assembler like a comment. Normally such a line would be the first line in your source file Assembler directives: #if, #elif, #else, #endif
Pseudo instructions: if, endif
if you make the file executable. Then you can 'run' the source to produce the output file. This is handy Assembler directives: #if, #elif, #else, #endif
Pseudo instructions: if, endif
if lots of Differences from v3 to v4: Command line options
Command Line Options
Command Line Options: Command line options
command line options must be passed to assemble this file.

Note: This line is ignored by zasm. Assembler directives: #if, #elif, #else, #endif
Pseudo instructions: if, endif
If it is line 1 of your source file then it is evaluated by the shell when the file is run as a command.

$> # this will assemble the file using line 1: ('-x' => Intel-Hex)
$> ./mysourcefile.asm
$> # this will assemble the file ignoring line 1: (no '-x' => binary file)
$> zasm mysourcefile.asm --Command Line Options: --flatops, .flatops, _flatops_
Commands for command line options: --flatops, .flatops, _flatops_
flatops -x

This feature is used in the regression selftest of zasm with Differences from v3 to v4: Command line options
Command Line Options
Command Line Options: Command line options
command line option -T / --test.

Valid HTML   Valid CSS