New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Indirect register access in examine/deposit commands ... possible? #343
Comments
There currently is minimal (no) expression evaluation functionality.
The $ (last value referenced) was added a while back but hasn't seen much use or your request would have come up earlier. So, I've just added the extended the allowed syntax to now allow:
Which will use the last value displayed as the starting address and display that address thru N-1 beyond it (where in this example N is 10). Additionally, you can combine both of these in a breakpoint action string:
|
Thanks for the pointer, that seems to work. I tried this:
and it does what you might expect, where $ equates to the last value examined. I don't need the length option just yet, I'll get that when I pull the next commit. Thanks for the help! |
…in EXAMINE As discussed in simh#343
In debugging some code on the PDP11, I have a need to examine memory at a variable location, whose address is in a register (ie, like SP).
Ideally I'd like to do something like: EX (SP) or even EX 4(SP)-12(SP)
Is there a way to do this using existing command syntax? I can't find any way.
Or would this be classified as a new feature?
I just started using the RWSX breakpoint feature (very nice!) but now need the above functionality.
The text was updated successfully, but these errors were encountered: