TIP: Click on subject to list as thread! ANSI
echo: 80xxx
to: BRYAN SCHWARTZ
from: STEVEN HANCOCK
date: 1997-12-13 01:49:00
subject: pure Hex Programming

> 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)

SOURCE: echomail via exec-pc

Email questions or comments to sysop@ipingthereforeiam.com
All parts of this website painstakingly hand-crafted in the U.S.A.!
IPTIA BBS/MUD/Terminal/Game Server List, © 2025 IPTIA Consulting™.