Skip to content
forked from poechsel/LEIA

LEIA is a virtual asm created for some CS course. This project contain an assembly program, a simulator, and some basics assembly functions

Notifications You must be signed in to change notification settings

lauregonnord/LEIA

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

33 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

LEIA

LEIA is a virtual asm created for some CS course. This project contain an assembly program, a simulator, and some basics assembly functions

This directory contains LEIA, the simulator for the ASR1 course @ENSL, year 2016. Authors : Pierre Oechsel and Guillaume Duboc, ENSL.

CONTENT

  • a graphical simulator
  • an assembly code
  • examples

INSTALL - PREREQUISITES

  • the simulator needs the SDL2 graphical library (sudo apt-get install libsdl2-dev)
  • "make" will compile the simulator.
  • python3 for the assembly

ASSEMBLY

  • python3 asm.py /path/to/example.s produces /path/to/example.obj
  • then ./LEIA {-f,-s,-q} /path/to/example.obj

TEST DISTRIB

cd EX

simple simulation step by step:

python3 ../asm.py tp1-simple.s && ../LEIA -s tp1-simple.obj

fast simu, graphical example

python3 ../asm.py hello.s && ../LEIA -f hello.obj

ISA:

The ISA of our asm is disponible here: http://perso.citi-lab.fr/fdedinec/enseignement/2016/isa2016.pdf

About

LEIA is a virtual asm created for some CS course. This project contain an assembly program, a simulator, and some basics assembly functions

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C++ 54.2%
  • Python 21.9%
  • Assembly 21.1%
  • QMake 1.5%
  • Other 1.3%