The idea of this project is to do something similar to what MARS2 does, to be able to interpret MIPS type instructions and use the linux terminal as a graphical environment to have data output and input. All this is designed in asssembler for the x86 CPU architecture
sudo apt-get install -y nasm
To do this, you must first double click on
And then click install
Now you must change the font type of the terminal in preferences
Create a new profile for the new font
Change in Custom font to Square modern size 6
In compatibility change to IBM855 this is for extended ASCII characters ('▒')
And that would be it, you already have the terminal configured properly
make build
./mips_emu.app ejemplos/pong.text.hex ejemplos/pong.data.hex
./mips_emu.app ejemplos/snake.text.hex ejemplos/snake.data.hex
You can turn on debugging, so you can see in a file each decoded instruction only by changing DEBUG to 1
- use git
- bin -> hex
- do makefile
- reed args
- reed file
- link the emulator
- $gp -> pointer screen
- pointer keyboard
All suggestions and criticism are welcome
Netwide Assembler - Netwide Assembler
x86_64 Linux Assembly #1 - "Hello, World!"