Author Topic: Comprehensive x86 instruction set for MSVS2010?  (Read 14197 times)

dedndave

  • Member
  • *****
  • Posts: 8823
  • Still using Abacus 2.0
    • DednDave
Re: Comprehensive x86 instruction set for MSVS2010?
« Reply #15 on: June 07, 2012, 12:13:02 PM »
Hutch made me realize....
the Pope is German, living in Italy
Jochen is, too
and he seems to have the Latin down

hmmmm - i wonder if jj2007 is actually the pontif, hmself, keeping a low profile   :icon_eek:
if so, i guess he would know how the Pope swears

anyways - that would certainly explain all the MasmBasic stuff   :lol:

jj2007

  • Member
  • *****
  • Posts: 9635
  • Assembler is fun ;-)
    • MasmBasic
Re: Comprehensive x86 instruction set for MSVS2010?
« Reply #16 on: June 07, 2012, 01:34:26 PM »
anyways - that would certainly explain all the MasmBasic stuff   :lol:

The only thing that is correct in your post is that MasmBasic is indeed a divine language :greensml:

hutch--

  • Administrator
  • Member
  • ******
  • Posts: 6582
  • Mnemonic Driven API Grinder
    • The MASM32 SDK
Re: Comprehensive x86 instruction set for MSVS2010?
« Reply #17 on: June 07, 2012, 01:48:29 PM »
This was not a translation of "Holy Crap", its what a Pope may say if he stubbed his toe in Latin.  :P

As this is a fully wholesome meeting place of assembler programmer, I will not post the translation to English.
hutch at movsd dot com
http://www.masm32.com    :biggrin:  :skrewy:

jj2007

  • Member
  • *****
  • Posts: 9635
  • Assembler is fun ;-)
    • MasmBasic
Re: Comprehensive x86 instruction set for MSVS2010?
« Reply #18 on: June 07, 2012, 06:16:07 PM »
Ok, before the whole thread gets shoved into the Colosseum (that's in Rome, by the way), here the latest tool to get the Comprehensive x86 instruction set extracted from Intel's 17MB PDF manual - 434 instructions, alphabetically sorted and nicely formatted :biggrin:

Code: [Select]
Reading 231843 lines from IntelComplete.txt took        21 ms
Writing 434 instructions (alphabetically sorted) took   26 ms

Most instructions are now captured by the parser (I love PDF :icon_mrgreen:)
« Last Edit: June 08, 2012, 12:04:41 AM by jj2007 »

hutch--

  • Administrator
  • Member
  • ******
  • Posts: 6582
  • Mnemonic Driven API Grinder
    • The MASM32 SDK
Re: Comprehensive x86 instruction set for MSVS2010?
« Reply #19 on: June 07, 2012, 07:11:51 PM »
JJ,

Its been a while since I have done it but you used to be able to save a PDF file as plain text which from memory similified extracting the mnemonic names and following data. Certainly far simpler than trying to extract it from PDF format.
hutch at movsd dot com
http://www.masm32.com    :biggrin:  :skrewy:

jj2007

  • Member
  • *****
  • Posts: 9635
  • Assembler is fun ;-)
    • MasmBasic
Re: Comprehensive x86 instruction set for MSVS2010?
« Reply #20 on: June 08, 2012, 12:13:02 AM »
Its been a while since I have done it but you used to be able to save a PDF file as plain text which from memory similified extracting the mnemonic names and following data. Certainly far simpler than trying to extract it from PDF format.

Absolutely - that's what I'm doing :biggrin:

But still, it's not trivial:

Desired output (only once, and the most descriptive one, please):
CALL   Call Procedure
CBW/CWDE/CDQE   Convert Byte to Word/Convert Word to Doubleword/Convert Doubleword to Quadword
CLC   Clear Carry Flag

What you have to parse (these are only the lines that contain CBW/CWDE/CDQE and the marker ):
Code: [Select]
CALL—Call Procedure. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-112
CBW/CWDE/CDQE—Convert Byte to Word/Convert Word to Doubleword/Convert
Doubleword to Quadword. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-131
CLC—Clear Carry Flag. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-133
.... some thousand lines more ....
CBW/CWDE/CDQE—Convert Byte to Word/Convert Word to Doubleword/Convert Double-Vol. 2A 3-131
word to Quadword
#UD If the LOCK prefix is used.
.... some thousand lines more ....
3-132 Vol. 2A CBW/CWDE/CDQE—Convert Byte to Word/Convert Word to Doubleword/Convert Double-
word to Quadword
.... some thousand lines more ....

See updated attachment in Reply #18 above.