flat assembler
Message board for the users of flat assembler.
![]() |
Author |
|
Tomasz Grysztar
Code: virtual at si si_point CPoint end virtual mov si,point mov [si_point.z],12 You can use whatever label you want. |
|||
![]() |
|
Alexandoros
ye,ye i know about this way, but how about 20 different struct and 4 registers (for example) = 80 virtual define? Too much.
Macro? - Only 1 name, possible many mistake, and code will be not so good readable. But its IMHO. I can not speak you what to do, but if future with local offset inside struct will be introduced - its will be very cool. |
|||
![]() |
|
Tomasz Grysztar
When you want just the local offset, do the same what the "struct" macro does:
Code: virtual at 0 CPoint CPoint end virtual mov si,point mov [si+CPoint.z],12 |
|||
![]() |
|
Alexandoros
Thx, its work.
|
|||
![]() |
|
< Last Thread | Next Thread > |
Forum Rules:
|
Copyright © 1999-2020, Tomasz Grysztar. Also on GitHub, YouTube, Twitter.
Website powered by rwasa.