flat assembler
Message board for the users of flat assembler.

Index > Main > Masm addr to Fasm

Author
Thread Post new topic Reply to topic
mzabcdefgchina



Joined: 14 Jan 2015
Posts: 10
mzabcdefgchina
Statement in the following format:

invoke RtlZeroMemory,addr @stLVI,sizeof LV_ITEM

How to express in FASM?
Please make it macro
Post 07 Jan 2016, 08:12
View user's profile Send private message Reply with quote
jiangfasm



Joined: 08 Mar 2015
Posts: 58
jiangfasm
mzabcdefgchina wrote:
Statement in the following format:

invoke RtlZeroMemory,addr @stLVI,sizeof LV_ITEM

How to express in FASM?
Please make it macro


pro tst
local @stLVI:LV_ITEM
invoke RtlZeroMemory,addr @stLVI,sizeof.LV_ITEM
endp
Post 07 Jan 2016, 12:43
View user's profile Send private message Visit poster's website Reply with quote
sunnysigil



Joined: 18 Jun 2014
Posts: 6
sunnysigil
jiangfasm wrote:
mzabcdefgchina wrote:
Statement in the following format:

invoke RtlZeroMemory,addr @stLVI,sizeof LV_ITEM

How to express in FASM?
Please make it macro


pro tst
local @stLVI:LV_ITEM
invoke RtlZeroMemory,addr @stLVI,sizeof.LV_ITEM
endp


No need for addr keyword, also at least provide him with the sizeof macro or define it using
local @stLVI:LV_ITEM
local size_var = $ - @stLVI
Post 21 Jan 2016, 17:20
View user's profile Send private message Reply with quote
Display posts from previous:
Post new topic Reply to topic

Jump to:  


< Last Thread | Next Thread >
Forum Rules:
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Copyright © 1999-2020, Tomasz Grysztar. Also on YouTube, Twitter.

Website powered by rwasa.