<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=iso-8859-1">
<META content="MSHTML 6.00.2715.400" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>
<DIV><FONT face=Arial size=2>Hello,</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>I'm trying to make a really simple compiler, and 
i'm getting there, but i have one problem. The program makes a tree of the 
program, so i can traverse it and generate program code. But i would like to 
generate the (binary) object code, so it can actually create .EXE files, which 
can be run under DOS / windows. </FONT></DIV>
<DIV><FONT face=Arial size=2>I think i can find the hex-codes of the 
instructions, but how can i make a REAL executable, so i don't have to make an 
interpreter. I've heard of the PSP, the first 256 bytes of a 
program, but i don't know how to write that to a file, neither (or 
what it is, for that matter).</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>Do you think you could give me some help with this? 
Thanks in advance.</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>k stol</FONT></DIV></BODY></HTML>