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

sbcs error on xPSR #29

Closed
Turro75 opened this issue May 16, 2021 · 2 comments · Fixed by #30
Closed

sbcs error on xPSR #29

Turro75 opened this issue May 16, 2021 · 2 comments · Fixed by #30
Labels
bug Something isn't working

Comments

@Turro75
Copy link
Contributor

Turro75 commented May 16, 2021

another bug catched by gdbdiff.
This time I left enabled the interrupts forcing the emulator following the path of the real pico. Tested on test-printf.ino

diff.txt
testdiff.txt

Mismatch after 3587 compared instructions

Register StartValue Emulator Silicone
r0 0x00000000 0x00000000 0x00000000
r1 0x2000d1a0 0x2000d1a0 0x2000d1a0
r2 0x00000009 0x00000009 0x00000009
r3 0xffffffff 0xffffffff 0xffffffff
r4 0x2000cf34 0x2000cf34 0x2000cf34
r5 0x2000d1a0 0x2000d1a0 0x2000d1a0
r6 0x2000ce30 0x2000ce30 0x2000ce30
r7 0x10011648 0x10011648 0x10011648
r8 0x20002c58 0x20002c58 0x20002c58
r9 0x00000001 0x00000001 0x00000001
r10 0x10011648 0x10011648 0x10011648
r11 0x00000001 0x00000001 0x00000001
r12 0x2000267d 0x2000267d 0x2000267d
sp 0x2000cc80 0x2000cc80 0x2000cc80
lr 0x10008c9f 0x10008c9f 0x10008c9f
pc 0x10008022 0x10008024 0x10008024
xPSR* 0x81000000 0x81000000 0x41000000
Flags [N---] [N---] [-Z--]

0x10008022 <+6>: 98 41 sbcs r0, r3

@urish urish added the bug Something isn't working label May 16, 2021
@Turro75
Copy link
Contributor Author

Turro75 commented May 16, 2021

Uri,
You are getting some noise from my repo, sorry for that, still learning the github way

@urish
Copy link
Contributor

urish commented May 16, 2021

Released this bugfix as 0.3.9

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

Successfully merging a pull request may close this issue.

2 participants