flat assembler
Message board for the users of flat assembler.

Index > Windows > DP instruction

Author
Thread Post new topic Reply to topic
Oleguito



Joined: 09 Apr 2020
Posts: 2
Oleguito
Hello! How do you use it? Or please provide a link with example. Thanks

_________________
50128945333
Post 09 Apr 2020, 07:52
View user's profile Send private message Reply with quote
Tomasz Grysztar



Joined: 16 Jun 2003
Posts: 7756
Location: Kraków, Poland
Tomasz Grysztar
If you mean the data directive with such name, it is described in section 1.2.2 of the manual.
flat assembler Programmer's Manual wrote:
The DP directive and its synonym DF accept the values consisting of two numerical expressions separated with colon, the first value will become the high word and the second value will become the low double word of the far pointer value.
Post 09 Apr 2020, 08:39
View user's profile Send private message Visit poster's website Reply with quote
Oleguito



Joined: 09 Apr 2020
Posts: 2
Oleguito
Yes I am reading the manual, I don't know what this directive does. Cant find on the internet. How is it used? And where -- code section or data section?
Post 09 Apr 2020, 09:09
View user's profile Send private message Reply with quote
Tomasz Grysztar



Joined: 16 Jun 2003
Posts: 7756
Location: Kraków, Poland
Tomasz Grysztar
In general it is quite unlikely that you need to use this directive. It defines a 48-bit far pointer. Whether you use it in code or data, it is up to you, just like with any other data directive (like DB, etc.)
Post 09 Apr 2020, 09:27
View user's profile Send private message Visit poster's website 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.