ESEO-Tech / emulsiV

A visual simulator for teaching computer architecture using the RISC-V instruction set

Home Page:https://eseo-tech.github.io/emulsiV/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Re-arrange instructions in Emulsiv

sakshi15108 opened this issue · comments

Is there a way we can shift multiple instructions at once rather than copy+pasting instructions one at a time from one address to another?

This has been requested before but it is not available yet.
I think I have postponed this feature because a naïve solution would not be intuitive for beginners, and a smart solution would be difficult to implement and could have unexpected side effects.

For instance, when shifting instructions, do you expect emulsiV to automatically recalculate the offsets in branch instructions?

Remember that the "Instructions" column of the memory view is only a representation of the raw binary content.
emulsiV does not actually know which bytes belong to instructions or data, and which bytes represent addresses or offsets.

Currently the memory view in emulsiV can be used for tweaking the memory content.
For users who need to edit the assembly code, the best option today is to use an external editor and assembler.