Rocksolid Light

Welcome to novaBBS (click a section below)

mail  files  register  nodelist  faq  login

The system will be down for 10 days for preventive maintenance.


programming / alt.lang.asm / Re: Links for Peter or src153 on x86 instruction decoding/encoding

SubjectAuthor
* Re: Links for Peter or src153 on x86 instruction decoding/encodingPeter Cheung
`- Re: Links for Peter or src153 on x86 instruction decoding/encodingPeter Cheung

1
Subject: Re: Links for Peter or src153 on x86 instruction decoding/encoding
From: Peter Cheung
Newsgroups: alt.lang.asm
Date: Wed, 10 Jul 2019 07:32 UTC
References: 1
X-Received: by 2002:a37:2750:: with SMTP id n77mr22829017qkn.370.1562743932715;
Wed, 10 Jul 2019 00:32:12 -0700 (PDT)
X-Received: by 2002:a81:3358:: with SMTP id z85mr17864590ywz.251.1562743932168;
Wed, 10 Jul 2019 00:32:12 -0700 (PDT)
Path: i2pn2.org!i2pn.org!weretis.net!feeder6.news.weretis.net!feeder.usenetexpress.com!feeder-in1.iad1.usenetexpress.com!border1.nntp.dca1.giganews.com!nntp.giganews.com!b26no1713963qtq.0!news-out.google.com!g23ni1117qtq.1!nntp.google.com!b26no1713949qtq.0!postnews.google.com!glegroupsg2000goo.googlegroups.com!not-for-mail
Newsgroups: alt.lang.asm
Date: Wed, 10 Jul 2019 00:32:11 -0700 (PDT)
In-Reply-To: <q8rtqj$63i$4@gioia.aioe.org>
Complaints-To: groups-abuse@google.com
Injection-Info: glegroupsg2000goo.googlegroups.com; posting-host=219.76.24.153;
posting-account=bv9fUwoAAAALZPMyH_uNDx4MtNzAsvy6
NNTP-Posting-Host: 219.76.24.153
References: <q8rtqj$63i$4@gioia.aioe.org>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <1d91931f-ef27-480f-8399-01dc1469d0c8@googlegroups.com>
Subject: Re: Links for Peter or src153 on x86 instruction decoding/encoding
From: mcheun...@gmail.com (Peter Cheung)
Injection-Date: Wed, 10 Jul 2019 07:32:12 +0000
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
Lines: 26
View all headers
Rod Pemberton於 2019年4月13日星期六 UTC+8下午1時58分45秒寫道:
Links for Peter or src153 on x86 instruction decoding/encoding

Instruction Length Decoder in C
https://web.archive.org/web/20070922034842/http://www.devmaster.net/forums/showthread.php?t=2311
https://web.archive.org/web/20110807235648/http://www.devmaster.net/codespotlight/show.php?id=25


James posted in the "Divide fault" thread:

JH> FYI there's a useful guide to the encoding/decoding of instructions
JH> on the 8086 at p4-27 of
https://edge.edx.org/c4x/BITSPilani/EEE231/asset/8086_family_Users_Manual_1_.pdf


Rod Pemberton
--
The lesson for Boeing.  You push the nose of a plane down, and planes
go down.

tried the code from first link, the decoder not correct. decoded wrong opcode.


Subject: Re: Links for Peter or src153 on x86 instruction decoding/encoding
From: Peter Cheung
Newsgroups: alt.lang.asm
Date: Wed, 10 Jul 2019 08:32 UTC
References: 1 2
X-Received: by 2002:a37:464a:: with SMTP id t71mr22634865qka.436.1562747541113;
Wed, 10 Jul 2019 01:32:21 -0700 (PDT)
X-Received: by 2002:a81:350b:: with SMTP id c11mr17239335ywa.123.1562747540669;
Wed, 10 Jul 2019 01:32:20 -0700 (PDT)
Path: i2pn2.org!i2pn.org!weretis.net!feeder6.news.weretis.net!feeder.usenetexpress.com!feeder-in1.iad1.usenetexpress.com!border1.nntp.dca1.giganews.com!nntp.giganews.com!b26no1847897qtq.0!news-out.google.com!g23ni1122qtq.1!nntp.google.com!b26no1847890qtq.0!postnews.google.com!glegroupsg2000goo.googlegroups.com!not-for-mail
Newsgroups: alt.lang.asm
Date: Wed, 10 Jul 2019 01:32:20 -0700 (PDT)
In-Reply-To: <1d91931f-ef27-480f-8399-01dc1469d0c8@googlegroups.com>
Complaints-To: groups-abuse@google.com
Injection-Info: glegroupsg2000goo.googlegroups.com; posting-host=219.76.24.153;
posting-account=bv9fUwoAAAALZPMyH_uNDx4MtNzAsvy6
NNTP-Posting-Host: 219.76.24.153
References: <q8rtqj$63i$4@gioia.aioe.org> <1d91931f-ef27-480f-8399-01dc1469d0c8@googlegroups.com>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <e8c38ce5-1081-4f43-af14-315bb7be5c6e@googlegroups.com>
Subject: Re: Links for Peter or src153 on x86 instruction decoding/encoding
From: mcheun...@gmail.com (Peter Cheung)
Injection-Date: Wed, 10 Jul 2019 08:32:21 +0000
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
Lines: 33
View all headers
Peter Cheung於 2019年7月10日星期三 UTC+8下午3時32分13秒寫道:
Rod Pemberton於 2019年4月13日星期六 UTC+8下午1時58分45秒寫道:
Links for Peter or src153 on x86 instruction decoding/encoding

Instruction Length Decoder in C
https://web.archive.org/web/20070922034842/http://www.devmaster.net/forums/showthread.php?t=2311
https://web.archive.org/web/20110807235648/http://www.devmaster.net/codespotlight/show.php?id=25


James posted in the "Divide fault" thread:

JH> FYI there's a useful guide to the encoding/decoding of instructions
JH> on the 8086 at p4-27 of
https://edge.edx.org/c4x/BITSPilani/EEE231/asset/8086_family_Users_Manual_1_.pdf


Rod Pemberton
--
The lesson for Boeing.  You push the nose of a plane down, and planes
go down.

tried the code from first link, the decoder not correct. decoded wrong opcode.

Oh no, that code work, but assume is in 32 bits mode, so the operandSize variable is 4. If i change to 2, then it work for 16 bits instruction disassemble


1
rocksolid light 0.7.2
clearneti2ptor