asm_dip/toolchain/fasmg.kl0e/source/libc/struct.inc

18 lines
335 B
PHP
Raw Normal View History

2024-11-24 20:13:28 -08:00
macro struct name*
{
local body
define body struc name \{
irp d, db,rb,dw,rw,dd,rd,dq,rq \{ struc d value& \\{ define body \\\.\\#. d value \\} \}
macro ends
\{
define body \\}
irp d, db,rb,dw,rw,dd,rd,dq,rq \\{ restruc d \\}
irpv line, body \\{ line \\}
virtual at 0
name name
sizeof.#name = $
end virtual
\}
}