flat assembler
Message board for the users of flat assembler.
![]() |
Author |
|
vid
Code: ;declaration struct TDk a db 1 b db 2 ends ;passing: push tdk call somefunc ;accessing: proc somefunc lpStruc mov ecx, [lpStruc] ;ecx = address of structure in memory mov eax, [ecx + TDK.a] ;eax = member a of structure at address ecx ret endp |
|||
![]() |
|
xray
thank you very much. just what i needed.
|
|||
![]() |
|
< Last Thread | Next Thread > |
Forum Rules:
|
Copyright © 1999-2020, Tomasz Grysztar. Also on GitHub, YouTube, Twitter.
Website powered by rwasa.