Viewing Issue Advanced Details
ID Category [?] Severity [?] Reproducibility Date Submitted Last Update
09325 Debugger Minor Always 10 hours ago 5 hours ago
Tester jman View Status Public Platform MAME (Official Binary)
Assigned To Resolution Invalid report OS Windows (x64)
Status [?] Closed Driver
Version 0.283 Fixed in Version Build x64
Fixed in Git Commit Github Pull Request #
Summary 09325: r13 and r14 registers are always displayed with 0 and don't updated in ARM cpu.
Description As far as I know, "r13" is stack pointer and "r14" is link register in ARM cpu.
But "r13" and "r14" registers are always displayed with 0 and don't update even when "BL" (call sub-routine), "STMFD" (push) or "LDMFD" (pop) are executed.

See screen shot. It is from charlien (dataeast/simpl156.cpp).
"r13" is "0" after "LDR R13,&0000378" instead of "201200".
Steps To Reproduce 1) execute "mame -debug charlien"
2) press F11 2 times
3) check the value in r13 register
Additional Information I'm not sure about this problem due to my less knowledge for ARM cpu. If this is correct behavior, where should I look at stack pointer address?
Github Commit
Flags
Regression Version
Affected Sets / Systems
Attached Files
png file icon charlien.png (52,358 bytes) 10 hours ago Uploaded by jman
jman
Relationships
There are no relationship linked to this issue.
Notes
3
User avatar
No.23892
Robbbert
Moderator
9 hours ago
I don't know anything about that CPU either, so it's acknowledged. Perhaps someone who knows more can say.
User avatar
No.23893
hap
Developer
9 hours ago
Looks like SR13 updated here, presuming you're in the middle of a sw interrupt?
No bug then.
User avatar
No.23895
cuavas
Administrator
5 hours ago
A lot of arcade games run entirely in supervisor mode, so the user stack pointer won’t change.