vanillamice / SIC-XE-assembler

Extended Sic architecture assembler

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Extended SIC/XE architecture assembler

Links:

Wikipedia: https://en.wikipedia.org/wiki/Simplified_Instructional_Computer

Documentation: https://www.unf.edu/~cwinton/html/cop3601/supplements/test.html

Function:

Control Section

Addressing Mode (Flag bit)

Direct Addressing Mode

Indirect Addressing Mode

Simple Addressing Mode

Immediate Addressing Mode

Relative Addressing Mode

Program Counter (PC Register)

Base (Base Register)

Extended Instruction (4bit Instruction)

How it works :

Assign addresses to all statements in source code

Save values (addresses) assigned to labels for use in pass two

Process directives

Translate instructions

Convert labels to addresses

Generate values defined by BYTE and WORD

Process the directives not done in pass one

Write object code

sample output:

image

image

image

To Do:

[1]Continue implementation of linker and loader

[2]Add GUI

About

Extended Sic architecture assembler

License:MIT License


Languages

Language:C++ 100.0%