fix register dummy value
This commit is contained in:
parent
7e27b55bde
commit
0b3e476863
1 changed files with 5 additions and 5 deletions
10
kernel.asm
10
kernel.asm
|
@ -113,12 +113,12 @@ Drive64Done:
|
||||||
WipeRegisters:
|
WipeRegisters:
|
||||||
// load up most registers with a dummy value for debugging
|
// load up most registers with a dummy value for debugging
|
||||||
lui at, 0xCAFE
|
lui at, 0xCAFE
|
||||||
ori at, r0, 0xBABE
|
ori at, at, 0xBABE
|
||||||
dsllv at, 32
|
dsll at, 16
|
||||||
// attempting to use this as an address should trigger an interrupt
|
// attempting to use this as an address should trigger an interrupt
|
||||||
ori at, r0, 0xDEAD
|
ori at, at, 0xDEAD
|
||||||
dsllv at, 16
|
dsll at, 16
|
||||||
ori at, r0, 0xBEEF
|
ori at, at, 0xBEEF
|
||||||
|
|
||||||
// k0, k1, sp intentionally absent
|
// k0, k1, sp intentionally absent
|
||||||
daddu v0, at, r0
|
daddu v0, at, r0
|
||||||
|
|
Loading…
Add table
Reference in a new issue