flat assembler
Message board for the users of flat assembler.
![]() |
Author |
|
LocoDelAssembly 15 Oct 2010, 19:41
Code: struct sMyStruct p1 dd 0 p2 dd 0 ends struct1 sMyStruct virtual at struct1 this sMyStruct end virtual mov [this.p1], 0 ; WORKS! |
|||
![]() |
|
baldr 15 Oct 2010, 23:19
alorent,
Are you trying to overwrite part of mov [this.p1], 0 instruction with 0? This works: Code: struct sMyStruct p1 dd 0 p2 dd 0 ends struct1 sMyStruct virtual this sMyStruct end virtual mov [this.p1], 0 |
|||
![]() |
|
alorent 16 Oct 2010, 05:47
Thanks guys!
I have tried to make a set of macros to simulate basic OO (Objected Oriented) programming, with the idea of making things more "organized" in assembly and better programming. I have realized that at the end I will make the code more obscure and dirty as assembly is what it is, assembly ![]() Well, hopefully someone will make in FASM something that is really OO coding and not something that makes things more obscure ![]() Thanks! |
|||
![]() |
|
< Last Thread | Next Thread > |
Forum Rules:
|
Copyright © 1999-2025, Tomasz Grysztar. Also on GitHub, YouTube.
Website powered by rwasa.