li r3, 0 <--this will not work.
li %r3, 0 <--this will work.
bl (address to bl to)
bl 0x248FA4
bdnz -0x14
beq 0x14
bne 0x2C
)
Luckeyy, FBML, flynhigh09, Gabberhard, Gendjisan, GongasPT, Hunter926, ImAzazel, ImPiffHD, ImSooCool, Insult, Island Time, ItsLollo1000, jdmalex, Je Modz, JLM, JOniiX85, klambo, LBK, M-alShammary, Mango_Knife, milky4444, Mr_Snake_-, Mr. Mask, mrdarkblue, Norway-_-1999, Notorious, O-H, GandalfsBish, Pewp, primetime43, Pseudo_Soldier, ryu_hayabusa80, ICS Vortex, SC58, Shark, Smoky420, SnaY, Soldier., Source Code, Sticky, Swaqq, Taylor, TheUnexpected, Ciri, TotalModzHD, Vicodin10, Hash847, xFlavez, xRevolutions
li r3, 0 <--this will not work.
li %r3, 0 <--this will work.
bl (address to bl to)
bl 0x248FA4
bdnz -0x14
beq 0x14
bne 0x2C
)
func:
mflr %r0 // set up the stack frame
stw %r0, 8(r1)
stwu %r1, -16(r1)
addi %r3, %r3, 3 // add 3 to the argument and return it
addi %r1, %r1, 16 // destroy the stack frame
lwz %r0, 8(r1)
mtlr %r0
blr // return
.globl _main
_main:
mflr %r0 // set up the stack frame
stw %r0, 8(r1)
stwu %r1, -16(r1)
lis %r3, hi16(847318093) // load big number into r3
ori %r3, %r3, lo16(847318092)
bl func // call stuff
addi %r1, %r1, 16 // destroy the stack frame
lwz %r0, 8(r1)
mtlr %r0
blr // return
func:
mflr %r0 // set up the stack frame
stw %r0, 8(r1)
stwu %r1, -16(r1)
addi %r3, %r3, 3 // add 3 to the argument and return it
addi %r1, %r1, 16 // destroy the stack frame
lwz %r0, 8(r1)
mtlr %r0
blr // return
.globl _main
_main:
mflr %r0 // set up the stack frame
stw %r0, 8(r1)
stwu %r1, -16(r1)
lis %r3, hi16(847318093) // load big number into r3
ori %r3, %r3, lo16(847318092)
bl func // call stuff
addi %r1, %r1, 16 // destroy the stack frame
lwz %r0, 8(r1)
mtlr %r0
blr // return
Copyright © 2026, NextGenUpdate.
All Rights Reserved.