Z80-ASM(5)

NAME
description of file format used by z80-asm

DESCRIPTION
The file conpounds of header, address and data.

HEADER
Header is 8 bytes long. It contains string Z80ASM (6 bytes - without trailing zero) followed by 0x1a character and newline character ( 0x0a ). The 0x1a character is to persuade DO$ viewers to stop viewing the file. The newline character terminates the header.

ADDRESS
Address follows the header. It's 16-bit address of the program start. The less significant byte comes first, most significant byte follows.

DATA
Data come after address. Data are raw compiled program. Length of data can be simply calculated: length of file-10 bytes.

SEE ALSO
z80-asm(1), z80-dis(1), z80-asm(5)