Welcome dear guest! Very Happy

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

Be sure to check out disposable e-mail services, in case you prefer using one for this site instead of your legit address: http://10minutemail.com/10MinuteMail/

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

You can see and download all content provided for regular members even without an account!

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

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

Display results as :

Rechercher Advanced Search

May 2018

Calendar Calendar

Country Statistics
Free counters!
LaTeX Generator

You are not connected. Please login or register

View previous topic View next topic Go down  Message [Page 1 of 1]

1 How to find a beq- value? on 8/31/2013, 7:44 am


Code Creator
So bully, you were telling me that if you were to compare 2 registers that match using cmpw, a branch should be created... How do create the branch?

2 Re: How to find a beq- value? on 8/31/2013, 1:00 pm


Admin & Coder
Admin & Coder
jaeremix10 wrote:How do create the branch?


3 Re: How to find a beq- value? on 8/31/2013, 1:45 pm


Code Creator
Err... How do i create the branch?

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

4 Re: How to find a beq- value? on 8/31/2013, 9:46 pm


You type the branch instruction and some label name afterwards. Then place the destination of the branch wherever you want in your code using the same name and put ":" after it. If the comparison is true, the code execution jumps to the destination label.

cmpw r12, r11 #We compare contents from r12 and r11#
beq- END #If equal jump to END:#

... #This runs only if not equal#


... #This runs no matter the result from the comparison#


Sponsored content

View previous topic View next topic Back to top  Message [Page 1 of 1]

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