![]() |
![]()
| ![]() |
![]()
NAMEdescription of file format used by z80-asm DESCRIPTIONThe recommended filename extension should be .z80 The file consists of header, address and data. HEADERHeader is 8 bytes long. It contains string Z80ASM (6 bytes - without trailing zero) followed by 0x1a character and linefeed character ( 0x0a ). The 0x1a character is to persuade DO$ viewers to stop viewing the file. The newline character terminates the header. ADDRESSAddress follows the header as 2 bytes. These are interpretated as a 16-bit start address of the data(code) to load. The less significant byte comes first, most significant byte follows. DATAData come after address. Data are raw compiled program. Length of data can be simply calculated to 'length of file - 10' bytes. SEE ALSOz80-asm(1), z80-mon(1), z80-asm(5)
|