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
It easier for me to understand by looking at the solution with comments rather than reading text.
Both can be useful, but the Internet is truly resplendent with examples. It's well worth taking to learn to use sensible search parameters.