> Could anyone tell me how to load and execute a purely hexidecimal
> program for the Intel x86 family ? I'd like to know how to program a
> tiny hex program using the 8086 opcodes without using any kind of
> assembler, including the DOS debug. Does anyone know how?
You'll want a hex-editor, there are several of them available for DOS,
Windows, and OS/2. Any program with any kind of memory addressing, calls, or
jmps, is going to be a REAL pain to write and maintain in straight machine
code with a hex editor, which is why we have assemblers. You could try this
little five byte file though, enter the following hex codes into your hex
editor and save as BOOT.COM:
EA F0 FF 00 F0
DO NOT run this from within a multitasker, and if you're using any disk cache
with write-behind caching be sure to flush the cache before running this, it
jumps into your BIOS to reboot the machine.
- steve
Team OS/2
--- WWIVGate 2.00c
---------------
* Origin: Slave Pit BBS (1:103/350)
|