rars icon indicating copy to clipboard operation
rars copied to clipboard

Running machine code directly

Open ghost opened this issue 5 years ago • 2 comments

Can I load and run RISCV instruction machine codes directly on RARS?

ghost avatar Sep 24 '20 08:09 ghost

Currently it is not possible to load an ELF or any other type of binary file directly.

There is a start to the work on executing programs from ELF files in the elfloading branch. I don't remember how much work it needs before it would be ready to merge into master. I would expect that the changes will land in master some time in the next year, but I don't know when I will get to it.

Alternatively, with the "self modifying code" option it is possible to make a program that would load a binary file into memory.

TheThirdOne avatar Sep 24 '20 09:09 TheThirdOne

any updates on this? it's been 4 years and the ability to make use external tools like gcc without having to use objdump or similar would be nice.

ProxyPlayerHD avatar Mar 20 '24 04:03 ProxyPlayerHD