update to structs

This commit is contained in:
IgorCielniak
2026-01-21 14:26:30 +01:00
parent 805f8e26a5
commit ff6af0b783
4 changed files with 15 additions and 19 deletions

View File

@@ -8,10 +8,10 @@ word test-mem-alloc
4096 free # free the memory
end
struct: Point
struct Point
field x 8
field y 8
;struct
end
word main
32 alloc # allocate 32 bytes (enough for a Point struct)