• Login
  • Register
  • Dolphin Forums
  • Home
  • FAQ
  • Download
  • Wiki
  • Code


Dolphin, the GameCube and Wii emulator - Forums › Dolphin Emulator Discussion and Support › Development Discussion v
« Previous 1 2 3 4 5 ... 107 Next »

'sp' in debugger
View New Posts | View Today's Posts

Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Thread Modes
'sp' in debugger
05-29-2019, 10:43 AM
#1
JarheadHME Offline
Junior Member
**
Posts: 4
Threads: 3
Joined: Jul 2018
Hey, I'm running the debugger and am trying to find certain things in the game, and I think I know where I need to be looking, but I'm not sure how I see it. The asm says
Code:
sp
in place of what would normally be a registry, like
Code:
r4
or something. I don't see sp anywhere in the big registry list, so I'm led to believe it's elsewhere, but I'm not sure where to look. Can someone point me in the right direction?

On a separate note, I see in the breakpoints tab there's a column called "active", I'm led to believe that means I can deactivate certain breakpoints but keep them in the list to reactivate later, but I can't seem to figure out how I would do that. Any help?
Find
Reply
05-29-2019, 12:10 PM
#2
MayImilae Offline
Princess of Optimism
**********
Administrators
Posts: 3,986
Threads: 110
Joined: Mar 2011
*waves her magic moderator wand*

Moved to Developer Discussion!
[Image: RPvlSEt.png]
Windows 10 x64 | Core i9-9900k | NVIDIA GeForce RTX 2080Ti FE (x2)| 32GB DDR4-3000 | Asus Xonar Essence STX on Logitech Z-2300 | Logitech G500
MacBook Pro 13in mid-2018 with Touch Bar | macOS 10.14 | Core i7-8559U @ 4.5ghz | Intel Iris Plus Graphics 655 | 16GB 2133MHz LPDDR3
Find
Reply
05-30-2019, 07:21 AM (This post was last modified: 05-30-2019, 07:23 AM by JonnyH.)
#3
JonnyH Offline
Shameless AMD shill
**********
Developers (Some Administrators and Super Moderators)
Posts: 696
Threads: 0
Joined: May 2017
"SP" likely stands for "Stack Pointer" - which register that refers to depends on the ABI, but I believe PowerPC tends to use gpr1.

Here's a description of IBM's recommendations for the powerpc - it's likely that the gamecube/wii use a similar (or the same) set.
https://www.ibm.com/support/knowledgecenter/en/ssw_aix_72/com.ibm.aix.alangref/idalangref_reg_use_conv.htm

EDIT: That seems to agree with the YAGCD page here:
http://hitmen.c02.at/files/yagcd/yagcd/chap3.html
Find
Reply
« Next Oldest | Next Newest »


  • View a Printable Version
  • Subscribe to this thread
Forum Jump:


Users browsing this thread: 1 Guest(s)



Powered By MyBB | Theme by Fragma

Linear Mode
Threaded Mode