This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Assembly IF statement simple question

If I say,

if a == 10 b = b * 4 + 2

if it does then do 'b = b * 4 + 2' or skip doing it? Would it be BNE or BEQ?

Something tells me it's DON'T DO...

Thanks

Parents
  • Ok, I apologize. The thing is that I don't know C or any other programming languages. I started learning Assembly a few weeks ago. It easier for me to understand by looking at the solution with comments rather than reading text. Maybe that's wrong but for now this is grasp the material I'm learning.

Reply
  • Ok, I apologize. The thing is that I don't know C or any other programming languages. I started learning Assembly a few weeks ago. It easier for me to understand by looking at the solution with comments rather than reading text. Maybe that's wrong but for now this is grasp the material I'm learning.

Children