Skip to content
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

Undo last step just goes back one instruction instead of "back jumping" to correct instruction. #96

Open
dullin opened this issue Oct 8, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@dullin
Copy link
Collaborator

dullin commented Oct 8, 2024

Using the following sample program

# Exemple d'utilisation de jr
li a0, 421
auipc s0, 0		# s0 = pc
addi s0, s0, 16
jr s0			# Branche à l'adresse s0
li a0, 42
li a7, 1 		# PrintInt
ecall
li a7, 10
ecall
#stdout:421
#only:rars

When using the debug step process, going back after the jr will go back on instruction instead of going back to the jr.

@dullin dullin added the bug Something isn't working label Oct 8, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant