Skip to content

7etsuo/x86-assembler

Repository files navigation

WINAPI

snowcra5h@icloud.com

https://twitter.com/7etsuo

This C program reads in an assembly language file, performs two passes over the file to identify labels and assemble the instructions, and then writes the resulting machine code to an output file. It includes several helper functions for handling instructions, managing a hash table for storing labels, and writing the machine code to the output file. It also includes a function for reading lines from the input file and stripping leading white space and a main function that opens the input and output files, calls the read loop function twice, and closes the files. The program is designed to assemble x86 assembly language code and can be compiled and linked using the nasm and ld commands. It is intended to be run on a Linux system.

About

x86 Assembler written in C

Resources

Stars

Watchers

Forks

Releases

No releases published

Sponsor this project

Packages

No packages published