flat assembler
Message board for the users of flat assembler.
Index
> Main > Simple question |
Author |
|
revolution 07 Oct 2006, 10:06
Quote: I would like to know what is returned in eax after the final subtraction. |
|||
07 Oct 2006, 10:06 |
|
ManOfSteel 07 Oct 2006, 10:44
Ok, thanks. Just what I thought. So basically, one could just use the Addr3 label automatically instead of doing these computations, right?
like: Code: Addr3: mov byte [Addr3],'w' instead of: Code: call Addr2 Addr1: <some code> Addr2: pop eax sub eax,(Addr1 - Addr3) <some code> Addr3: mov byte [eax],'w' |
|||
07 Oct 2006, 10:44 |
|
revolution 07 Oct 2006, 11:00
Quote: one could just use the Addr3 label automatically |
|||
07 Oct 2006, 11:00 |
|
< Last Thread | Next Thread > |
Forum Rules:
|
Copyright © 1999-2025, Tomasz Grysztar. Also on GitHub, YouTube.
Website powered by rwasa.