optimized ecall handling

This commit is contained in:
Luxferre
2026-06-18 20:15:48 +03:00
parent b0caa63ea1
commit ce40bb9a28
2 changed files with 138 additions and 176 deletions
+1 -1
View File
@@ -7,7 +7,7 @@ A-machine is a simple and straightforward implementation of the RV32I specificat
- [amach.awk](amach.awk), the emulator core itself that supports .dec files,
- and [amach](amach) shell script which is a two-liner that uses POSIX `od` to convert .bin files into .dec files on the fly and then passes them to the emulator core.
Additionally, A-machine is shipped with a reference test suite that assumes that you have a full RISC-V toolchain installed under the `riscv64-linux-gnu-` prefix (adjustable in the `Makefile`). Just run `make run` to build and run all tests. In case you don't have any toolchain available, two files called `rv32imac_tests.bin` and `rv32imac_syscall_tests.bin` are also included into the repo.
Additionally, A-machine is shipped with a reference test suite that assumes that you have a full RISC-V toolchain installed under the `riscv64-linux-gnu-` prefix (adjustable in the `Makefile`). Just run `make run` to build and run all tests.
The project is to be considered highly experimental and not production-ready in any way.