BullyWiiHacks
Welcome dear guest! Very Happy

To start posting and being part of the BWH community, you simply need to register an account or log into an existing one.

If you do not wish to register at all, that's fine but there will be more advertisements. :/

You can probably see and download most content provided for regular members even without an account.

Your contributions will be greatly appreciated though, give it a shot and register today! thumbsup

Join the forum, it's quick and easy

BullyWiiHacks
Welcome dear guest! Very Happy

To start posting and being part of the BWH community, you simply need to register an account or log into an existing one.

If you do not wish to register at all, that's fine but there will be more advertisements. :/

You can probably see and download most content provided for regular members even without an account.

Your contributions will be greatly appreciated though, give it a shot and register today! thumbsup
BullyWiiHacks
Would you like to react to this message? Create an account in a few clicks or log in to continue.
BullyWiiHacks

Gaming, Modding & Programming

Important reminders:

- Click *HERE* for advanced forum search or check out the text field below on the front page for Google before posting
- NO support via private message (use the forum)
- Write meaningful topic titles
Site Translation
Latest topics
» Dropped Out of College to Pursue Web Dev and Life Pursuits in General
Please help with ASM Assembly Empty5/16/2024, 8:25 am by Bully@WiiPlaza

» Bully Made It Into a BIG Video 400K Views
Please help with ASM Assembly Empty4/7/2024, 6:58 am by Bully@WiiPlaza

» Wii Play Tanks
Please help with ASM Assembly Empty3/24/2024, 2:46 pm by helpmeout

» [Bypass Paywalls] (Global) @magnolia1234 - GitLab
Please help with ASM Assembly Empty3/18/2024, 3:55 am by Seth@WiiPlaza

» [Download] Mary Shelley's Frankenhole
Please help with ASM Assembly Empty3/16/2024, 8:29 am by Seth@WiiPlaza

» Completely Custom Modded Controllers (Undetectable)
Please help with ASM Assembly Empty3/5/2024, 1:55 pm by Shadow@BWH

» (Zombies) Drink perks code?
Please help with ASM Assembly Empty3/5/2024, 1:24 pm by Shadow@BWH

» Die Rückkehr zu STEAM und WARFACE
Please help with ASM Assembly Empty3/2/2024, 3:54 am by Seth@WiiPlaza

» First person hand model change?
Please help with ASM Assembly Empty2/28/2024, 4:53 am by Ad3lamac611

» {RELEASE} Field Raider Firefox v1.72 by Seth@WiiPlaza
Please help with ASM Assembly Empty2/21/2024, 8:52 am by naxil

Search
 
 

Display results as :
 


Rechercher Advanced Search

May 2024
MonTueWedThuFriSatSun
  12345
6789101112
13141516171819
20212223242526
2728293031  

Calendar Calendar

Country Statistics
Free counters!

You are not connected. Please login or register

Please help with ASM Assembly

2 posters

Go down  Message [Page 1 of 1]

1Please help with ASM Assembly Empty Please help with ASM Assembly 8/26/2013, 2:16 am

jaeremix10

jaeremix10
Code Creator

So bully, after a while of trying out your PPC helper, ive noticed that all it does is write a value using li and ori, and then stores it.

That's helpful, but what about codes you have made that involve writes like 2C0C02B3.

I wanted to ask how you do this before attempting it myself to not look like a n00b. Please help me. I want to code better in ASM. Smile

2Please help with ASM Assembly Empty Re: Please help with ASM Assembly 8/26/2013, 11:43 pm

Bully@WiiPlaza

Bully@WiiPlaza
 
 

The program only helps you with storing a single value to the memory. That is good enough most of the time, but obviously there's way more you can do such as conditional code.
Spoiler:
This reads the value from address 0x81345678 into r12. Then puts value 0x00000000 into r11. Compares if those two match. If they do match, the branch is taken (branch if equal = beq). Code #No matter what# is executed. However if they don't match, #No match# is executed and *then* #No matter what#.

If you want to do something like if and else you require to skip the button part by branching over if you reach the #No match# part.
Spoiler:
The branch labels can be named however you want. The destination must end with ":". Label names can not be the same to prevent ambiguous codes:
Spoiler:
By the way, # ... # is a comment which can be inserted into the code without causing compiling issues.


_________________
Please help with ASM Assembly YBjg74I

jaeremix10

jaeremix10
Code Creator

Oh! Now THIS is juicy meat. What do the r registers mean? Does it depend on the breakpoint?


_________________
All the "Official" coders hate me. That's what keeps me coding! Cool 

jaeremix10

jaeremix10
Code Creator

Why did u choose r12 and r11. Does it have to be those 2?


_________________
All the "Official" coders hate me. That's what keeps me coding! Cool 

Bully@WiiPlaza

Bully@WiiPlaza
 
 

r12 is the safest register to write stuff to. Work your way down the more registers you need. If you do a bad pick your game could just crash.

Depending on the breakpoint you may want to write a value to the register it loads into or stores from.



Last edited by Bully@WiiPlaza on 8/27/2013, 3:19 am; edited 1 time in total


_________________
Please help with ASM Assembly YBjg74I

jaeremix10

jaeremix10
Code Creator

Oh ok. You dont write #no match# in asmwiird right?


_________________
All the "Official" coders hate me. That's what keeps me coding! Cool 

Bully@WiiPlaza

Bully@WiiPlaza
 
 

This was just a comment to show you where to put code to execute when it doesn't match the comparison.


_________________
Please help with ASM Assembly YBjg74I

Sponsored content



Back to top  Message [Page 1 of 1]

Permissions in this forum:
You cannot reply to topics in this forum