Bona Fide OS Developer
View unanswered posts | View active topics It is currently Wed Sep 19, 2018 2:42 am



Post new topic Reply to topic  [ 3 posts ] 
 x86 instruction format and encoding 
Author Message

Joined: Sat Jul 25, 2009 9:15 am
Posts: 257
Post 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...


Thu Jan 21, 2010 7:57 am
Profile

Joined: Sat Jul 25, 2009 9:15 am
Posts: 257
Post 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


Thu Jan 21, 2010 9:02 am
Profile
Site Admin

Joined: Fri Jul 24, 2009 10:02 pm
Posts: 247
Location: Las Vegas, NV, US
Post Re: x86 instruction format and encoding
Cool link. Let us know how it turns out for you!


Mon Feb 01, 2010 1:14 pm
Profile
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 3 posts ] 


Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group.
Designed by Vjacheslav Trushkin and tweaked by the BF Team.