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

zasm - Z80 Assembler – Version 4.4

Command Line Options

--dotnames, .dotnames

Related Differences from v3 to v4: Command line options
Command Line Options
Command Line Options: Command line options
command line option, Pseudo instructions
8080 Assembler: 8080 pseudo instructions
pseudo instruction and predefined label

Allow Pseudo instructions: Label definition
Numeric expressions: Labels
8080 Assembler: Labels
label names to start with a dot.

First dots were not allowed in Pseudo instructions: Label definition
Numeric expressions: Labels
8080 Assembler: Labels
label names. Then some assemblers prepended a dot to the Pseudo instructions
8080 Assembler: 8080 pseudo instructions
pseudo instructions to easily distinguish them from normal instructions and Pseudo instructions: Label definition
Numeric expressions: Labels
8080 Assembler: Labels
label names, so they could start at any column of a source line. Having seen that, some people immediately developed the need to start their Pseudo instructions: Label definition
Numeric expressions: Labels
8080 Assembler: Labels
label names with a dot as well…

Normally, without this option, only Pseudo instructions
8080 Assembler: 8080 pseudo instructions
pseudo instructions like '.Pseudo instructions: defs, ds, .ds, .block, .blkb and data
8080 pseudo instructions: DS
ds' or '.org' can start with a dot. Then they may be written in any column of a source line regardless of the '--reqcolon' setting.

With this setting the limitations described at '--reqcolons' also applies to Pseudo instructions
8080 Assembler: 8080 pseudo instructions
pseudo instructions starting with a dot because the dot no longer makes them special and implicitely a non-label.

The following #insert: Examples:
#assert: Example:
incbin: Examples:
#assert: Example:
example is only valid source with --Command Line Options: --dotnames, .dotnames
Commands for command line options: --dotnames, .dotnames
Label definition: --dotnames
dotnames and --reqcolon:

.org    0               ; starts in column 0 => requires --reqcolon
    .Pseudo instructions: defs, ds, .ds, .block, .blkb and data
8080 pseudo instructions: DS
ds 0x66 ; one of the original dot named Pseudo instructions
8080 Assembler: 8080 pseudo instructions
pseudo instructions jp .nmi_handler ; requires --Command Line Options: --dotnames, .dotnames
Commands for command line options: --dotnames, .dotnames
Label definition: --dotnames
dotname

Of course you could clean up your source as well…

Prior to version 4.3.4 a Pseudo instructions: Label definition
Numeric expressions: Labels
8080 Assembler: Labels
label _dotnames_ was also defined.

Valid HTML   Valid CSS