Skip to content

Instantly share code, notes, and snippets.

.n64 ; Set the architecture to N64
.open "00200f70.sta",0x80001000
start:
bgezal zero, label ; get PC in $ra so we can use it as a relative offset later (this is basically the pseudoinstruction bal)
nop
label:
.word 0x10000005 ;branch to the next block
nop

Init:

ntr: 0xB000000000000000

spi: 0x9F
spi: 0
spi: 0
spi: 0

spi: 6