flat assembler
Message board for the users of flat assembler.
![]() |
Author |
|
vbVeryBeginner 21 Sep 2005, 09:55
hi casey,
sorry for the bug. i just correct it. thank you |
|||
![]() |
|
snifit 07 Oct 2005, 15:26
If you have lParam (32 bits) and want the lower 16 and the higher 16 bits, then you can also do it this way:
Code: virtual at lParam lParamlow dw ? ; The lower 16 bits lParamhiw dw ? ; The higher 16 bits end virtual No idea which method that is fastest though, but doing it this way does however save you some code. |
|||
![]() |
|
decard 07 Oct 2005, 15:38
In such code of window procedures speed actually dones't matter. You can also write:
Code: movzx eax,word[lparam] ; get low word movzx eax,word[lparam+2] ; get hi word |
|||
![]() |
|
< Last Thread | Next Thread > |
Forum Rules:
|
Copyright © 1999-2023, Tomasz Grysztar. Also on GitHub, YouTube.
Website powered by rwasa.