Yeah, well, OK. I'm sending you the stuff. It's still copyrighted,
because those 150 lines represent many days of very, very hard work. I
had to print out tables from intel's manuals, get out a pen, and take a
stab at it.
It;s attatched.
NOTE: I use DOS. If you use unix, you might have to unzip this and
rename
the files to all-lowercase, if they are uppercase, because, I think the
#include's use lowercase names. Also you might have to convert my
13,10's
to jsut 10's (which I presume Linux uses cause all Linux files I get
have
that, except some have 13,10,10 or something queer.
I'll tell you what: if you guys (Ron Parker and anyone on the plex86
list etc.) can add floating-point and MMX support, I'll commit the
changes under the GPL.
Have fun,
Willow
(The file's attatched. I use DJGPP, but it should work with any 32-bit
or 64-bit compiler....)
"Parker, Ron" wrote:
>
> > I'd
> > like to give you a program I wrote: it takes in a script file that is
> > about 140 lines or so, and it expands from that all possible binary
> > encodings for all Pentium instructions (minux MMX and FPU and anything
> > later than the Pentium) along with the coresponding instruction names,
> > and assembly language operands. It is extremely easy to use (as I have
> > done) the resulting binary tables for disassembling, and with work,
> > assembling.
>
> I am in the middle of writing something similar. I would be very interested
> in seeing a script and program like that. It might save me a good deal of
> work. I have worked off-and-on in my spare time on a program to dynamically
> recode a program based on usage. HP has had good success with improving
> performance via a similar mechanism and I thought I would do a little
> investigation into it myself.
>
> If you don't want to share it with an unknown person I completely
> understand.
Well since I'm unemployed I might as well share... I've got nothing too
lose, you know.... ('competitive advantage' is only an excuse to not
share if you are NOT unemployed... hehe)
SHORTFRM.ZIP