Help with Increase Code

Started by asianking, May 28, 2009, 07:03:46 PM

Previous topic - Next topic

Romaap

Quote from: Panda On Smack on May 30, 2009, 04:59:00 PM
if you put that in asm to wiird it turns the addi r0,r0,100 into a li r0, 100

maybe a bug?

if you use another register it's fine
hmm.. you're right.... it only turns into a li if you use r0 for both :\

paprika_killer

well it isn't usual to use r0 for operations. r3 is the more conventional one.
[SIGPIC][/SIGPIC]

Y.S.

Quote from: Gekko user manual page 348
Note that addi uses the
value 0, not the contents of GPR0, if rA = 0.

Panda On Smack

Thanks Y to the S

Problem is that the documentation is a bit too complex for Joe Simple to read and understand

It's only when you somehow work something out and return back to the documentation you actually understand it

Needs to be re-written really in a way that's easier to understand and have actual code examples but that's a bit of a big job really.