Rev 129 | Blame | Compare with Previous | Last modification | View Log | Download
# file opened: structure.asm1 0000 device zxspectrum1282 00003 0000 struct str4 0000 ~ f0 byte 05 0000 ~ f1 byte 06 0000 ~ byte 07 0000 ends8 00009 0000 struct str110 0000 ~ byte 011 0000 ~ f0 byte 012 0000 ends13 000014 0000 module mod15 0000 struct str16 0000 ~ f0 word 017 0000 ~ f1 word 018 0000 ~ f2 word 019 0000 ~ word 020 0000 ends21 000022 0000 ;offsets23 0000 08 db str24 0001 00 db str.f025 0002 02 db str.f126 0003 04 db str.f227 000428 0004 02 db str129 0005 01 db str1.f030 0006 endmod31 000632 0006 03 db str33 0007 00 db str.f034 0008 01 db str.f135 0009 08 db mod.str36 000A 00 db mod.str.f037 000B 02 db mod.str.f138 000C 04 db mod.str.f239 000D40 000D ;usage41 000D 01 02 03 usestr str 1,2,342 0010 ;EDITED: seems to work in v1.11 (original comment "TODO: fix structs usage without labels")43 0010 04 05 str1 4,544 0012# file closed: structure.asmValue Label------ - -----------------------------------------------------------0x0008 mod.str0x0000 mod.str.f00x0002 mod.str.f10x0004 mod.str.f20x0003 str0x0000 str.f00x0001 str.f10x0002 str10x0001 str1.f00x000D X usestr0x000D X usestr.f00x000E X usestr.f1