Then you can access local variables by name like this:
moveax,[ebp+frame_stru.local_1] ; or minus depending
It is an ancient technique that was used before LOCAL have been implemented. You can always fall back to it when in need.
LOCAL is internally implemented in MASM (not a user macro). Same is true for my own assembler: SOL_ASM. FASM implements it as an user macro AFAIK. GAS does not have it either way but i guess you can implement it this way.
Thanks Bogdan. I was just looking at the docs and it seems what I want is called ".section" and its related directives. Not positive yet but it might do something similar to what you show above with the benefit of labels. If someone knows that's what I want.
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum You cannot attach files in this forum You can download files in this forum