/ Code

A Parser for GNUSim8085 Assembler Listings

I've been building an 8 bit microcomputer around the classic Intel 8085 processor. I found this excellent open source program, GNUSim8085, a "graphical simulator, assembler and debugger for the Intel 8085 microprocessor in Linux and Windows."

This program was extremely useful for writing and debugging my operating system. Unfortunately it had no ability to assemble the program to a binary in order to burn it to ROM, forcing me to hand assemble my programs in a hex editor. To fix this I wrote a parsing tool in C. It takes a GNUSim8085 assembler listing and strips out the hex data and OP codes to a binary file so that it can be written to a PROM chip.

Update: This is one of my earliest programs. With an old copy of the K&R book I jumped right in to C. The program seems kinda rediculous to me now but it did the job!