View Single Post
Old Nov 16th, 2005, 5:06 AM   #34
SittingDuck
Programmer
 
SittingDuck's Avatar
 
Join Date: Nov 2005
Location: Moseley, Birmingham, England, Earth
Posts: 51
Rep Power: 3 SittingDuck is on a distinguished road
I'm writing my own compiler, too.

One way to do it is to compile it into assembly language. Alternatively, like what I am doing, create machine code directly. For x86, there is a massive document available somewhere at intel.com that describes instruction formats and all the instructions, etc. Ask me if you want a link and I'll try to find it for you.
SittingDuck is offline   Reply With Quote