flat assembler
Message board for the users of flat assembler.

Index > Compiler Internals > bug?

Author
Thread Post new topic Reply to topic
Octavio



Joined: 21 Jun 2003
Posts: 366
Location: Spain
Octavio
amd 3dnow instructions like

pavgusb mm1,mm2 ;db 0fh,0fh,0cah,0bfh

are encoded with the modrm byte (0cah) before the opcode byte (0bfh)
i haven´t tested if this works but usually opcode byte is before modrm.
I have assembled it with fasm1.46 and fasm1.59
Post 18 Apr 2005, 16:10
View user's profile Send private message Visit poster's website Reply with quote
f0dder



Joined: 19 Feb 2004
Posts: 3170
Location: Denmark
f0dder
mikael "fluff" klasson's hexit assembles it as 0f0fcabf, too...
Post 18 Apr 2005, 16:28
View user's profile Send private message Visit poster's website Reply with quote
Tomasz Grysztar



Joined: 16 Jun 2003
Posts: 7756
Location: Kraków, Poland
Tomasz Grysztar
The third opcode byte for AMD 3DNow! is really an immediate byte for the instruction 0Fh-0Fh, and therefore comes last.
Post 18 Apr 2005, 22:57
View user's profile Send private message Visit poster's website Reply with quote
Octavio



Joined: 21 Jun 2003
Posts: 366
Location: Spain
Octavio
Privalov wrote:
The third opcode byte for AMD 3DNow! is really an immediate byte for the instruction 0Fh-0Fh, and therefore comes last.

thanks for the explanations ,the amd docs i have are really a data shit Evil or Very Mad
Please can someone tellme where to download the latest instructions sets for intel and amd.
Post 18 Apr 2005, 23:56
View user's profile Send private message Visit poster's website Reply with quote
MazeGen



Joined: 06 Oct 2003
Posts: 977
Location: Czechoslovakia
MazeGen
Post 19 Apr 2005, 07:59
View user's profile Send private message Visit poster's website Reply with quote
Octavio



Joined: 21 Jun 2003
Posts: 366
Location: Spain
Octavio
Thanks
Post 19 Apr 2005, 16: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.