flat assembler
Message board for the users of flat assembler.
![]() |
Author |
|
vid 22 Jul 2007, 17:48
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 23 Jul 2007, 13:43
thank you very much. just what i needed.
|
|||
![]() |
|
< Last Thread | Next Thread > |
Forum Rules:
|
Copyright © 1999-2023, Tomasz Grysztar. Also on GitHub, YouTube.
Website powered by rwasa.