Important Notice: Our web hosting provider recently started charging us for additional visits, which was unexpected. In response, we're seeking donations. Depending on the situation, we may explore different monetization options for our Community and Expert Contributors. It's crucial to provide more returns for their expertise and offer more Expert Validated Answers or AI Validated Answers. Learn more about our hosting issue here.

What are Registers?

registers
0
Posted

What are Registers?

0

Ok, you set a BP, you have that Notepad window (or you’re looking at the Registers Window in Nemu), and I bet you’re wondering what that stuff means. The Notepad doc is called a reg dump. It lists the N64 registers and their current value. Registers, or regs as we call them, are variables. ASM uses these variables to carry out various operations. Here’s a sample reg dump… r0 – 00000000 at – 41A00000 v0 – 00000008 v1 – 80110728 a0 – 00000068 a1 – 00000004 a2 – 00000000 a3 – 00006D60 t0 – FFFFFFFF t1 – 00000004 t2 – 00000006 t3 – FFFFFFFF t4 – 00000008 t5 – FFFFFFE0 t6 – 00680000 t7 – 8019E0F4 s0 – 801A7190 s1 – 00000000 s2 – 80112148 s3 – 80199C0C s4 – 800DC9E4 s5 – 00000000 s6 – 00000000 s7 – 00000000 t8 – 00040000 t9 – FFFFFFFE k0 – 80794AEC k1 – 00000AAA gp – 00000000 sp – 80114808 fp – 00000000 ra – 80073930 pc – 80073948 Each of those regs holds a 32-Bit value. For example, v0 holds the value 00000008. These are referenced in ASM by a dollar sign (e.g. $v0). Notes: 1. $pc is for

Related Questions

Thanksgiving questions

*Sadly, we had to bring back ads too. Hopefully more targeted.