Talk:Super Mario World:RAM map
Errrr.. both variables read from the currently active controller, not a certain player. Fixing that and adding info on what value to AND the addresses with to check for pressed buttons... --126.96.36.199 19:18, 20 August 2006 (EDT)
PS: Confused by what I mean? AND is 65816 ASM for performing bitwise AND between the accumulator and either a specified value or another address. What's bitwise AND? Well, say you had two binary values, 00101001 and 01011101. Both are 8 bits or one byte. Performing AND checks each bit in the first set to see if it is ON or 1, and checks the relative buts in set 2 to see if they are ON. After all is done, you're left with 00001001, which, when translated to hexadecimal, results in 09.