flat assembler
Message board for the users of flat assembler.

Index > Main > opcode 0x82 for ADD?

Author
Thread Post new topic Reply to topic
Teehee



Joined: 05 Aug 2009
Posts: 568
Location: Brazil
Teehee
x86ref has an ADD=0x82 that its not present in Intel Manual.

Explain me?

_________________
Sorry if bad english.


Last edited by Teehee on 04 Jun 2012, 18:49; edited 1 time in total
Post 04 Jun 2012, 18:40
View user's profile Send private message Reply with quote
revolution
When all else fails, read the source


Joined: 24 Aug 2004
Posts: 17663
Location: In your JS exploiting you and your system
revolution
0x81 == 0x83. One is a shorter form for byte encoded immediates.
Post 04 Jun 2012, 18:43
View user's profile Send private message Visit poster's website Reply with quote
Teehee



Joined: 05 Aug 2009
Posts: 568
Location: Brazil
Teehee
SORRY! its 0x82 not 0x83!!! [edited!]
Post 04 Jun 2012, 18:48
View user's profile Send private message Reply with quote
revolution
When all else fails, read the source


Joined: 24 Aug 2004
Posts: 17663
Location: In your JS exploiting you and your system
revolution
Yes. A well known duplicate opcode.

0x80 == 0x82.

IIRC 64-bit mode disallows the 0x82 opcode and makes it reserved. Or perhaps I misremember something?
Post 04 Jun 2012, 18:52
View user's profile Send private message Visit poster's website Reply with quote
Teehee



Joined: 05 Aug 2009
Posts: 568
Location: Brazil
Teehee
undocumented one
Post 04 Jun 2012, 18:58
View user's profile Send private message Reply with quote
revolution
When all else fails, read the source


Joined: 24 Aug 2004
Posts: 17663
Location: In your JS exploiting you and your system
revolution
Teehee wrote:
undocumented one
No. It is in the manuals. There is nothing secret about it.
Post 04 Jun 2012, 23:18
View user's profile Send private message Visit poster's website Reply with quote
Teehee



Joined: 05 Aug 2009
Posts: 568
Location: Brazil
Teehee
didnt find it at ADD table :O
Post 05 Jun 2012, 12:19
View user's profile Send private message Reply with quote
revolution
When all else fails, read the source


Joined: 24 Aug 2004
Posts: 17663
Location: In your JS exploiting you and your system
revolution
You need to look at the opcode map section. In the Intel manual it is appendix A.
Post 06 Jun 2012, 11:36
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 GitHub, YouTube, Twitter.

Website powered by rwasa.