From 4616dd4b21a2e85e32f32814f3536a1359dbf9bb Mon Sep 17 00:00:00 2001 From: Dpbm Date: Fri, 19 Apr 2024 15:25:06 -0300 Subject: [PATCH] updated readme and added submodule --- .gitignore | 1 + .gitmodules | 3 +++ asdf-nasm | 1 + readme.md | 5 ++++- 4 files changed, 9 insertions(+), 1 deletion(-) create mode 100644 .gitmodules create mode 160000 asdf-nasm diff --git a/.gitignore b/.gitignore index 85b1ada..4e65cec 100644 --- a/.gitignore +++ b/.gitignore @@ -7,3 +7,4 @@ !run *.img *.bin +!asdf-nasm diff --git a/.gitmodules b/.gitmodules new file mode 100644 index 0000000..399a50d --- /dev/null +++ b/.gitmodules @@ -0,0 +1,3 @@ +[submodule "asdf-nasm"] + path = asdf-nasm + url = https://github.com/Dpbm/asdf-nasm diff --git a/asdf-nasm b/asdf-nasm new file mode 160000 index 0000000..e92a883 --- /dev/null +++ b/asdf-nasm @@ -0,0 +1 @@ +Subproject commit e92a883fda6236d830f514a8571d5ffb3e7b1d54 diff --git a/readme.md b/readme.md index 672a8d3..f03fe4b 100644 --- a/readme.md +++ b/readme.md @@ -9,6 +9,7 @@ If you want to learn it too, take a look at the following references: - [Tutorials point](https://www.tutorialspoint.com/assembly_programming/) - [The Art of Assembly Language](https://www.ic.unicamp.br/~pannain/mc404/aulas/pdfs/Art%20Of%20Intel%20x86%20Assembly.pdf) +- [RiscV manual](https://riscv.org/wp-content/uploads/2017/05/riscv-spec-v2.2.pdf) also [google](google.com) and [chatgpt](https://chat.openai.com/) are some pretty good tools to understand better some commands, registers, etc. @@ -31,7 +32,9 @@ For `debian` based linux distros, you can run: To install them. -Also, if you use [asdf](https://asdf-vm.com/), I made a plugin to install `nasm` easily, so go to [my repo](https://github.com/Dpbm/asdf-nasm) and follow the instructions. +Also, if you use [asdf](https://asdf-vm.com/), I made a plugin to install `nasm` easily, just jump to [my repo](https://github.com/Dpbm/asdf-nasm) and follow the instructions. + +Finally, if you want to test the [riscv](./risc-v/) part, it's a good idea to upload the source files to [this online simulator](https://ascslab.org/research/briscv/simulator/simulator.html). ---