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

zasm - Z80 Assembler – Version 4.4

Pseudo instructions

.asciz

.asciz <text>

Store a 0-terminated character strings into the code segment.

The text string may be given in the following formats:

'text'          character string, delimited by <'>, must not contain <'>
"text"          character string, delimited by <">, must not contain <">

After the characters of the string an additional 0x00 byte is stored, which typically used in c sources as the string Pseudo instructions: end, .end
8080 pseudo instructions: END
end marker.

Your assembler source is expected to be either 7-bit clean ascii or utf-8 encoded.

Characters in character strings are utf-8 decoded and then translated into the target system's character Pseudo instructions: defl, set and '='
Labels: SET
set Assembler directives: #if, #elif, #else, #endif
Pseudo instructions: if, endif
if a #charset conversion has been defined. Characters must be representable in the target system's character Pseudo instructions: defl, set and '='
Labels: SET
set or an error will be flagged.

Assembler directives: #if, #elif, #else, #endif
Pseudo instructions: if, endif
If no character Pseudo instructions: defl, set and '='
Labels: SET
set translation was defined, then the characters must, after utf-8 decoding, fit in a byte, e.g. 'ä' is allowed, '€' is not.

Note: some computers use a character Pseudo instructions: defl, set and '='
Labels: SET
set which contains character 0x00 as an ordinary character, most notably the ZX80 and ZX81. zxsp tries to detect this and will report an error Assembler directives: #if, #elif, #else, #endif
Pseudo instructions: if, endif
if you try to use .asciz for these targets.

Valid HTML   Valid CSS