• 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 ... 13 14 15 16 17 ... 117 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
Unregistered
 
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?
Reply
05-29-2019, 12:10 PM
#2
MayImilae Offline
Chronically Distracted
**********
Administrators
Posts: 4,616
Threads: 120
Joined: Mar 2011
*waves her magic moderator wand*

Moved to Developer Discussion!
[Image: RPvlSEt.png]
AMD Threadripper Pro 5975WX PBO+200 | Asrock WRX80 Creator | NVIDIA GeForce RTX 4090 FE | 64GB DDR4-3600 Octo-Channel | Windows 11 22H2 | (details)
MacBook Pro 14in | M1 Max (32 GPU Cores) | 64GB LPDDR5 6400 | macOS 12
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: 701
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