Re: "Subtract with borrow" instruction missing ?
- From: "Wolfgang Kern" <nowhere@xxxxxxxxxxx>
- Date: Sat, 30 Jun 2007 16:28:56 +0200
Frank answered Nathan:
There happens to be a ***-load of instructions missing!!!
Here, grab this Zip file and finish what I started:
http://www.4shared.com/dir/2332173/37355615/sharing.html
I could see the 55KB zip but I failed to get it,
my cookies reside in the kitchen-cabinet rather than in my PC :)
*Very* nice, Nathan! This is a much more appropriate use of the
"TiddlyWiki" format than that tut I started! My "subjects" required too
much text to make a good "Tiddly" - at least *I* wasn't concise enough
to do it. I've abandoned that project, deciding I'd been seduced by the
"cuteness" of it... But *this* shows a lot of promise! I particularly
like the way you've got the effect on flags represented. (effects on
flags is missing from the Nasm manual, which is usually what I use for a
reference)
It has been suggested on the nasm-devel list that information, both for
the docs and for "insns.dat", be electronically extracted from the Intel
documents. I wonder if a "pdf2tiddly" converter would be practical?
Massive amount of work to do it "by hand". Going to take a while to get
to "sbb"! :)
AMD-docs contain a ~four pages list with all instructions affecting and
testing any flags. I printed it all on an A5 folder as quick reference
(by copy paste just text to winword and reformat it into a table).
Appendix E: Instruction Effects on RFLAGS (page 481 AMD64 volume3)
I also made a handwritten short group list, because there are no more
than 42 groups which behave different on flags, like:
grp00 (alter b0[Res/Set/Toggle]) CLC,STC,CMC
....
grp08 (clr b0,11 alter b2,4,6,7) TEST,AND,OR,XOR
grp09 (alter b0,2,4,6,7,11) ADD,CMP,NEG,SUB,XADD,CMPXCHG
grp10 (test b0 alter b0,2,4,6,7,11) ADC,SBB
....
grp40 (clr b16 alter all except b17) SYSRET
grp41 (test any of b0,2,6,7,11) CMOVcc,SETcc,Jcc (details on CC-list)
I think your list would use flag-names instead of bitnumbers :)
__
wolfgang
.
- References:
- Re: "Subtract with borrow" instruction missing ?
- From: Evenbit
- Re: "Subtract with borrow" instruction missing ?
- From: Frank Kotler
- Re: "Subtract with borrow" instruction missing ?
- Prev by Date: Re: Randy downloaded KESYS
- Next by Date: Re: QWORD PTR error on Intel Mac
- Previous by thread: Re: "Subtract with borrow" instruction missing ?
- Index(es):