GBA ASM Programming
View Single Post
January 6th, 2011 (6:36 PM).
Originally Posted by
Using shifts to clear bits has it's advantages. Mainly because to and something you need to load a value into a register and then and between two registers. Using bitshifts to cut off bits you don't care about is often simpler because it requires only one register.
If I'm not mistaken though and directly edits the contents of one register, so it only requires one register as well.
Joined Jul 2010
View Public Profile
Send a private message to NintendoBoyDX
Find all posts by NintendoBoyDX
Find threads started by NintendoBoyDX
Ignore Posts by NintendoBoyDX