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: 570
Location: Brazil
Teehee 04 Jun 2012, 18:40
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: 20355
Location: In your JS exploiting you and your system
revolution 04 Jun 2012, 18:43
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: 570
Location: Brazil
Teehee 04 Jun 2012, 18:48
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: 20355
Location: In your JS exploiting you and your system
revolution 04 Jun 2012, 18:52
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: 570
Location: Brazil
Teehee 04 Jun 2012, 18:58
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: 20355
Location: In your JS exploiting you and your system
revolution 04 Jun 2012, 23:18
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: 570
Location: Brazil
Teehee 05 Jun 2012, 12:19
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: 20355
Location: In your JS exploiting you and your system
revolution 06 Jun 2012, 11:36
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-2024, Tomasz Grysztar. Also on GitHub, YouTube.

Website powered by rwasa.