Skip to content

ssaketh-ch/sic-xe-assembler

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 

Repository files navigation

SIC/XE Assembler

A compact two-pass SIC/XE assembler written in C++.

This project was developed as part of my MSc coursework in Systems Programming. It reads SIC/XE assembly source, builds a symbol table in pass 1, generates object code in pass 2, and writes an object program using H, T, M, and E records.

What It Does

  • Parses SIC/XE assembly input
  • Builds a hash-based symbol table
  • Supports format 1, 2, 3, and 4 instructions
  • Handles directives such as START, END, BASE, NOBASE, WORD, BYTE, RESW, and RESB
  • Produces an object file as output.obj

Files

  • assembler.cpp - assembler implementation
  • input.asm - sample input program
  • Makefile - build and run commands

Build And Run

make
./assembler input.asm

Or use:

make run

The generated object program is written to output.obj.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors