flat assembler
Message board for the users of flat assembler.

Index > Windows > FASM Newbie has two more questions ;)

Author
Thread Post new topic Reply to topic
denial



Joined: 12 Sep 2004
Posts: 98
denial 15 Sep 2004, 19:15
Hi...

I've two (maybe some stupid) questions. It would be nice to get an answer about. Thank you Smile

1. How can I MOVe a value to a dqword? I tried it but I could not assemble it.

2. I saw the OpenGL example in the FasmW edition - but it's only windowed. Is there also an example for fullscreen mode?

Thank you
Post 15 Sep 2004, 19:15
View user's profile Send private message Reply with quote
roticv



Joined: 19 Jun 2003
Posts: 374
Location: Singapore
roticv 16 Sep 2004, 08:24
dqword = double quadword?
Post 16 Sep 2004, 08:24
View user's profile Send private message Visit poster's website MSN Messenger Reply with quote
denial



Joined: 12 Sep 2004
Posts: 98
denial 16 Sep 2004, 11:42
Well yes, labels declared with dq?
Post 16 Sep 2004, 11:42
View user's profile Send private message Reply with quote
roticv



Joined: 19 Jun 2003
Posts: 374
Location: Singapore
roticv 16 Sep 2004, 12:06
labels decalared with dq are quadwords (declare quard).

Do you want to move from memory to register or just memory to memory?

If memory to memory, the easiest method is to use 2 movq (mmx). Or you can use ordinary mov, moving dword at a time.
Post 16 Sep 2004, 12:06
View user's profile Send private message Visit poster's website MSN Messenger Reply with quote
denial



Joined: 12 Sep 2004
Posts: 98
denial 16 Sep 2004, 14:06
I want to move a numerical value to these labels. Smile I just want to change their value. With MOV it doesn't seem to work. Do I have to use a size-operator or something similar?

Thank you
Post 16 Sep 2004, 14:06
View user's profile Send private message Reply with quote
roticv



Joined: 19 Jun 2003
Posts: 374
Location: Singapore
roticv 16 Sep 2004, 14:30
Use 2 moves to fill it up...Since you can only move one dword using the standard "mov"
Post 16 Sep 2004, 14:30
View user's profile Send private message Visit poster's website MSN Messenger 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.