Replies: 1 comment
-
No, and no :) ... but, I don't think it would be too difficult to add! Register initialization for CLI is defined here: Lines 137 to 138 in 565026f Which is used during processor selection: Lines 38 to 39 in 565026f ... stored here: https://github.com/mortbopet/Ripes/blob/master/src/processorhandler.cpp#L285 and those values are then written every time the processor resets: https://github.com/mortbopet/Ripes/blob/master/src/processorhandler.cpp#L273 You could do something similar, using memory writing looking forward to the PR! |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I don't think this is currently possible, but maybe I misread the docs or there's some undocumented way.
I want to run an assembly program through ripes in cli mode. I saw that one can set initial register values, but is it possible to set some memory addresses as well?
Likewise after execution, is there a way to read some memory addresses?
Use case is that we're going to use ripes in a course and we'd like to prepare verification scripts so that the students can use ripes in gui mode to develop their program in assembly, and then run the script to validate their program is correct. The script would execute ripes in cli mode and then verify the program worked correctly. Some assignments require modifying memory in some way.
Beta Was this translation helpful? Give feedback.
All reactions