x86asm.net
Message board for the users of x86asm.net
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

X86-64 podle manuálu Intel, 1.0

 
Post new topic   This topic is locked: you cannot edit posts or make replies.    x86asm.net Forum Index -> Diskuze k článkům
View previous topic :: View next topic  
Author Message
MazeGen
Site Admin


Joined: 05 Sep 2007
Posts: 98
Location: .cz

PostPosted: Fri Dec 19, 2008 8:43 am    Post subject: X86-64 podle manuálu Intel, 1.0 Reply with quote

Diskuze k článku X86-64 podle manuálů Intel.

Quote:
Překvapuje mě, jak málo programátorů v asembleru při práci používá asi nejkvalitnější zdroj infomací - oficiální procesorové manuály, ať už od Intelu nebo AMD. Proto vzniknula tato příručka, která by vás měla krok za krokem provést spletitostí manuálů od Intelu při poznávání architektury x86-64.
Back to top
View user's profile Send private message Send e-mail Visit poster's website
steve
Guest





PostPosted: Fri Jan 16, 2009 11:31 pm    Post subject: pushad/popad Reply with quote

I just wonder,why pushad/popad aren't valid anymore.
Is there any clear explanation for it ?
Back to top
MazeGen
Site Admin


Joined: 05 Sep 2007
Posts: 98
Location: .cz

PostPosted: Sat Jan 17, 2009 8:20 am    Post subject: Reply with quote

Hi steve,

my personal opinion is that in 64-bit mode, PUSHAQ/POPAQ would push 64×16 (there are 16 general registers 64 bits wide) = 1024 bytes and this is quite a big piece of memory.

As for PUSHAD/POPAD, they wouldn't be encodable because of the issue I mentioned here:

http://x86asm.net/articles/x86-64-tour-of-intel-manuals/#Default-64-bit-operand

Quote:
The second group of instructions (which includes PUSH etc.) has much bigger consequences for an assembly programmer. It means that instruction like PUSH EAX cannot be used, only PUSH RAX (or PUSH AX with prefix 66).


And PUSHA/POPA (16-bit variant of PUSHAQ/POPAQ) wouldn't be of much use.

Anyway, the best place to ask should be here:

http://forums.amd.com/forum/

BTW, this topic is dedicated for Czech version od the article. The english one is here:

http://board.x86asm.net/viewtopic.php?t=13
Back to top
View user's profile Send private message Send e-mail Visit poster's website
Display posts from previous:   
Post new topic   This topic is locked: you cannot edit posts or make replies.    x86asm.net Forum Index -> Diskuze k článkům All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You can 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


Powered by phpBB © 2001, 2005 phpBB Group