Message board for the users of flat assembler.
> Macroinstructions > How to make a record structure addressing without +1+2+4 ?
could someone help to find a better way for referencing a variable in a record?
i have a record like:
LINE width x-start y-start x-end y-end
byte word word word word
i could define a structure like
struc linestruct width,xs,ys,xe,ye .w db width .x-start dw xs .y-start dw ys .x-end dw xe .y-end dw ye firstline linestruct 20,300,400,340,540
and then address like