GBA ASM Programming
View Single Post
January 6th, 2011, 06:36 PM
Join Date: Jul 2010
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.
View Public Profile
Send a private message to NintendoBoyDX
Find all posts by NintendoBoyDX
Find threads started by NintendoBoyDX