flat assembler
Message board for the users of flat assembler.

Index > Main > operand size

Author
Thread Post new topic Reply to topic
b1528932



Joined: 21 May 2010
Posts: 287
b1528932 07 Jul 2010, 22:18
push [address] - operand size not specyfied

make fasm to use default size, depending on use16/32/64 directive.
i have to put dword every single time.

i think its a bug, because if i put in [] variable declared as rd/dd it works fine.
Post 07 Jul 2010, 22:18
View user's profile Send private message Reply with quote
Tyler



Joined: 19 Nov 2009
Posts: 1216
Location: NC, USA
Tyler 07 Jul 2010, 23:11
It works fine when declared as dd/rd because Fasm implies the size based on the block size it was declared as. Declare as word sized and Fasm will assume it should be treated as a word. Labels and addresses have no size specification.
Post 07 Jul 2010, 23:11
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-2025, Tomasz Grysztar. Also on GitHub, YouTube.

Website powered by rwasa.