8085sim


about

a bare-metal intel 8085 microprocessor emulator built entirely in c.

designed for the command line. features an o(1) opcode jump table, accurate hardware state tracking, and a fully isolated 64kb virtual memory space. no bloat, just raw fetch-decode-execute.

download

cross-compiled and statically linked. no external dependencies required.

usage

generate a simple test binary (mvi a, 05 | mvi b, 07 | add b | hlt):

$ printf "\x3E\x05\x06\x07\x80\x76" > test.bin

pass the binary file directly to the emulator:

$ ./8085sim test.bin

the simulator will load the machine code at 0x0000, execute the cycle, and dump the final cpu state (registers, pc, sp, flags) upon hitting a hlt instruction.


(c) 2026 shvpnd. sent from a debian machine.