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

zasm - Z80 Assembler – Version 4.4

Targets

#target TZX

0x10: Standard speed data block

#TZX STANDARD, name, address, length, FLAG=(flag|NONE), [CHECKSUM=NONE|ACE], [PAUSE=ms]

This defines a Assembler directives: #code
Including C Source Files: #code
#code segment which is stored as a standard ZX Spectrum tape block. This segment can be re-entered using directive Assembler directives: #code
Including C Source Files: #code
#CODE
or pseudo opcode .AREA. Any following Assembler directives: #code
Including C Source Files: #code
#CODE segments with no FLAG are appended to this segment to form the full tzx data block.

FLAG: The value for the #code: Flag Byte
#code: Flag Byte
flag byte is in range 0 to 255. Assembler directives: #if, #elif, #else, #endif
Pseudo instructions: if, endif
If the keyword NONE is used then no #code: Flag Byte
#code: Flag Byte
flag byte is stored in the tape file.

CHECKSUM: Assembler directives: #if, #elif, #else, #endif
Pseudo instructions: if, endif
If Pseudo instructions: defl, set and '='
Labels: SET
set to NONE then zasm will append no checksum after the data. Assembler directives: #if, #elif, #else, #endif
Pseudo instructions: if, endif
If Pseudo instructions: defl, set and '='
Labels: SET
set to ACE then a Jupiter Ace checksum will be calculated. The default is to append the standard ZX Spectrum checksum.

PAUSE: Length of the silent gap after this block in ms. Assembler directives: #if, #elif, #else, #endif
Pseudo instructions: if, endif
If PAUSE is omitted then the default is 1000ms (header) or 2000ms (data).

Valid HTML   Valid CSS