flat assembler
Message board for the users of flat assembler.

Index > Compiler Internals > Size operators

Author
Thread Post new topic Reply to topic
a115433



Joined: 05 Mar 2010
Posts: 144
a115433 08 Apr 2010, 10:38
whats diffrent between fword - pword and tbyte - tword?
they both have 6/10 bytes.
Post 08 Apr 2010, 10:38
View user's profile Send private message Reply with quote
revolution
When all else fails, read the source


Joined: 24 Aug 2004
Posts: 20447
Location: In your JS exploiting you and your system
revolution 08 Apr 2010, 10:44
They are the same. One aliases the other. For backward compatibility.
Post 08 Apr 2010, 10:44
View user's profile Send private message Visit poster's website Reply with quote
Fanael



Joined: 03 Jul 2009
Posts: 168
Fanael 09 Apr 2010, 06:47
revolution wrote:
For backward compatibility.
s/backward/awkward/ Wink
Post 09 Apr 2010, 06:47
View user's profile Send private message Reply with quote
revolution
When all else fails, read the source


Joined: 24 Aug 2004
Posts: 20447
Location: In your JS exploiting you and your system
revolution 09 Apr 2010, 06:50
I have always like the 'fword' operator, if only to watch the childish reactions of non-assembly programmers whenever they see "fword' in the source code. Snickers all around. Rolling Eyes
Post 09 Apr 2010, 06:50
View user's profile Send private message Visit poster's website Reply with quote
a115433



Joined: 05 Mar 2010
Posts: 144
a115433 09 Apr 2010, 07:07
ok but why f/p/t/t prefixes?
byte - 1
word - 2
dword - double word
fword - ???
pword - ???
qword - quad word
tbyte - ???
tword - ??? t like ten? wtf.
dqword - double quad word
Post 09 Apr 2010, 07:07
View user's profile Send private message Reply with quote
revolution
When all else fails, read the source


Joined: 24 Aug 2004
Posts: 20447
Location: In your JS exploiting you and your system
revolution 09 Apr 2010, 07:08
a115433 wrote:
ok but why f/p/t/t prefixes?
I already told you, backward compatibility. They don't really mean anything. Fword is supposed to be far, Pword I dunno, Tword is temporary
Post 09 Apr 2010, 07:08
View user's profile Send private message Visit poster's website Reply with quote
zhak



Joined: 12 Apr 2005
Posts: 501
Location: Belarus
zhak 09 Apr 2010, 09:36
t could be used as Triple (tword - triple word - 6 bytes)
p could be used as Penta (pword - penta word - 10 bytes)

and so on... hexa, octa, the rest
Post 09 Apr 2010, 09:36
View user's profile Send private message Reply with quote
Tomasz Grysztar



Joined: 16 Jun 2003
Posts: 8359
Location: Kraków, Poland
Tomasz Grysztar 09 Apr 2010, 10:47
revolution wrote:
Pword I dunno

It's "pointer", AFAIK.

revolution wrote:
Tword is temporary
That's right. But TASM's TBYTE is most probably just "TEN of BYTE". Very Happy
Post 09 Apr 2010, 10:47
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-2025, Tomasz Grysztar. Also on GitHub, YouTube.

Website powered by rwasa.