View Single Post
Old 01-02-2009, 02:12 PM   #23 (permalink)
kmote
 

Join Date: Jul 2005

Location: England

Posts: 2,186

kmote has a spectacular aura aboutkmote has a spectacular aura about

Default Re: Writing a program in binary

Wow that's cool. Not how I remember it either. Surely though, there has to be some level of interpretation by dos. How does it know to put "Hello world" on the screen for example as opposed to the speakers or serial port? Or is that what INT 21h does?
Baez I have not tried his program but I think the code on his first post is the raw binary for the program there is no need for an additional compiler, hex or otherwise. I think he wrote the assembly in a text editor and then used an assembler to "compile" it into just 25 bytes of machine code.
__________________
MSI P43 Neo|Enermax Pro82+ 425W|E5200|silent 8500GT|250GB Samsung spinpoint F1|Samsung SATA DVD RW|4GB Corsair|Antec SOLO|openSUSE11


There are in order of increasing severity: lies, darn lies, statistics, and computer benchmarks. - diskinfo man page
kmote is offline