flat assembler
Message board for the users of flat assembler.

Index > Heap > What a strange World

Author
Thread Post new topic Reply to topic
HarryTuttle



Joined: 26 Sep 2003
Posts: 211
Location: Poland
HarryTuttle
Amd has syscall and Intel sysenter

AMD opcode is 0f 05
Intel opcode is 0f 34

isn't it strange a bit ?

why so different instruction to enter the system call
is int not enough ?

Could anyone tell me something about it?

_________________
Microsoft: brings power of yesterday to computers of today.
Post 15 Feb 2005, 15:17
View user's profile Send private message Reply with quote
scientica
Retired moderator


Joined: 16 Jun 2003
Posts: 689
Location: Linköping, Sweden
scientica
Here's what I found:
Quote:
SYSENTER or SYSCALL?

Why are there two different instructions to make a fast system call? Most likely, Intel and AMD simultaneously and independently developed their versions of the Fast System Call instructions. They are both functionally identical, but they use somewhat different configuration registers in the CPU to set up the destination segment and the offset within the destination segment where the system call function resides. Because they are both so similar, I willmainly describe the SYSENTER version and point out differences where they matter.

source: http://www.codeguru.com/Cpp/W-P/system/devicedriverdevelopment/article.php/c8223/
Post 15 Feb 2005, 22:05
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 can attach files in this forum
You can download files in this forum


Copyright © 1999-2020, Tomasz Grysztar.

Powered by rwasa.