Bona Fide OS Development
http://forums.osdever.net/

x86 instruction format and encoding
http://forums.osdever.net/viewtopic.php?f=10&t=142
Page 1 of 1

Author:  DudeOfX [ Thu Jan 21, 2010 7:57 am ]
Post subject:  x86 instruction format and encoding

I started to make an effort to make an assembler... and I am looking at these intel manuals and well its not straight forwards... sooo I am starting by taking a brute force approach... I am using fasm to assemble simple instructions I want to encode... I get the binary opcodes from the assembled file and thats what I'm using... I'm gonna store them in a big array of opcodes..

I know thats the dumb way of doing it... I am hoping to see a pattern that would help me read the intel manuals for the more complicated instructions... and I am posting here to check if anybody here can point me on a better direction...

Author:  DudeOfX [ Thu Jan 21, 2010 9:02 am ]
Post subject:  Re: x86 instruction format and encoding

Never mind sort off, I found this reference site which explains it much easier...
http://www.arl.wustl.edu/~lockwood/class/cse306-s04/resources/opcodes.html

Author:  brenden [ Mon Feb 01, 2010 1:14 pm ]
Post subject:  Re: x86 instruction format and encoding

Cool link. Let us know how it turns out for you!

Page 1 of 1 All times are UTC - 6 hours [ DST ]
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
http://www.phpbb.com/