Editing 4BoD
Jump to navigation
Jump to search
Warning: You are not logged in. Your IP address will be publicly visible if you make any edits. If you log in or create an account, your edits will be attributed to your username, along with other benefits.
The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then publish the changes below to finish undoing the edit.
Latest revision | Your text | ||
Line 11: | Line 11: | ||
==Instruction Set== | ==Instruction Set== | ||
Instructions set (from | Instructions set (from) | ||
OP |A |B |Description | OP |A |B |Description | ||
Line 19: | Line 19: | ||
0011 AAAA - Sets the accumulator to AAAA | 0011 AAAA - Sets the accumulator to AAAA | ||
0100 - Sets the accumulator to the buttons that have been pressed | 0100 - Sets the accumulator to the buttons that have been pressed | ||
- Ones place = left button | |||
- Twos place = right button | |||
- Fours place = up button | |||
- Eights place = down button | |||
0101 - Increments the accumulator (Do this 15 times to make a subtraction by overflow) | 0101 - Increments the accumulator (Do this 15 times to make a subtraction by overflow) | ||
0110 - Clears the screen | 0110 - Clears the screen |