Thread: Running Exe's
View Single Post
Old 08-21-2006, 06:21 PM   #9 (permalink)
teknomage1
Jack of all trades
 
teknomage1's Avatar
 
Join Date: Feb 2005
Location: Los Angeles
Posts: 598
teknomage1 is on a distinguished road
Send a message via AIM to teknomage1
The reason you'd have to write code for each insruction is that exe files are nothing but assembly statements. You only have to write a translation table that takes care of each opcode, and some variables to represent the machine registers but for x86 that's fairly complicated.

What's your overall goal? Do you just want an "interpretted style" programming language, that compiles once? Are you writing some sort of debugger? Is it just a loader for something else?
__________________
Stop intellectual property from infringing on me
teknomage1 is offline   Reply With Quote