flat assembler
Message board for the users of flat assembler.

Index > Main > Dword push in FASM (OpenGL procedures)

Author
Thread Post new topic Reply to topic
Tyler Durden



Joined: 24 Feb 2004
Posts: 50
Tyler Durden
Hi all Smile
The question is how I can push a dword value to use with OpenGL procedures ? For example with glOrtho ?
Post 28 Apr 2004, 11:25
View user's profile Send private message Visit poster's website ICQ Number Reply with quote
Tyler Durden



Joined: 24 Feb 2004
Posts: 50
Tyler Durden
sorry I meant push QWORD value
Post 28 Apr 2004, 12:28
View user's profile Send private message Visit poster's website ICQ Number Reply with quote
Babali



Joined: 25 Apr 2004
Posts: 4
Location: France
Babali
An easy way can be :

Code:
push     dword [my_qword]
push     dword [my_qword+4]
    


Maybe you'll have to push first my_qword+4 , i don't know how it will be poped but i think that what i wrote is right.

Good Luck Very Happy
Post 28 Apr 2004, 13:28
View user's profile Send private message MSN Messenger Reply with quote
Tomasz Grysztar
Assembly Artist


Joined: 16 Jun 2003
Posts: 7709
Location: Kraków, Poland
Tomasz Grysztar
Please don't double-post.
Post 28 Apr 2004, 14:18
View user's profile Send private message Visit poster's website Reply with quote
zenek_tm



Joined: 21 Mar 2004
Posts: 33
Location: Poland
zenek_tm
Babali: actually first you have to push my_qword+4 then my_qword.
Code:
push dword [my_qword+4]
push dword [my_qword]    
Post 28 Apr 2004, 15: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-2020, Tomasz Grysztar.

Powered by rwasa.