Skip to content

nimxor/Assembler

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ISA

Project description

Designed and implemented an ISA for a 32 bit machine using C code. It aims to demonstrate how assembly language computation occurs with instructions and addressing modes unique to each ISA. The execution was carried out with the machine code generated from this assembly language code.

Steps to generate opcode and symbol table:

Symbol table is generated in "symbol1.txt" .
  • We have two input files for our program in assembly language name "inp1.txt" and "inp2.txt".
  • 1.c is Code to generate every assembly instruction into 32 bit binary instuction .
  • After Execution of 1.c corresponding to "inp1.txt" , "out1.txt" will be generated along with "symbol1.txt" .
  • 2.c is Code to generate final output ,states of flag registers and ALU control signals are displayed .

Execution of code

 gcc 1.c
./a.out
gcc 2.c
./a.out

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages