This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revisionLast revisionBoth sides next revision | ||
notes:sysnet [2015/02/12 16:43] – [ALU] bfairch2 | notes:sysnet [2015/03/04 20:52] – [sim] dshadeck | ||
---|---|---|---|
Line 33: | Line 33: | ||
* modulus | * modulus | ||
* bit shifting | * bit shifting | ||
- | * left | + | * left bfairch2 x |
- | * right | + | * right bfairch2 x |
* bit rotation | * bit rotation | ||
- | * left | + | * left bfairch2 o |
- | * right | + | * right bfairch2 o |
* bitwise logic | * bitwise logic | ||
* AND (return in hex)bfairch2 x | * AND (return in hex)bfairch2 x | ||
- | * OR (return in hex)bfairch2 | + | * OR (return in hex)bfairch2 |
- | * NOT (return in hex)bfairch2 | + | * NOT (return in hex)bfairch2 |
- | * exclusive-OR (XOR, or as we may see it called: EOR) (return in hex) | + | * exclusive-OR (XOR, or as we may see it called: EOR) (return in hex) bfairch2 x |
* others? | * others? | ||
* flags register | * flags register | ||
Line 216: | Line 216: | ||
0xE8:INX $%IMPL%:1:2 | 0xE8:INX $%IMPL%:1:2 | ||
0xC8:INY $%IMPL%:1:2 | 0xC8:INY $%IMPL%:1:2 | ||
- | 0x4C:JMP $%ABSOL%: | + | 0x4C:JMP $%ABSOL%: |
- | 0x6C:JMP ($%INDIR%): | + | 0x6C:JMP ($%INDIR%): |
0x20:JSR $%ABSOL%: | 0x20:JSR $%ABSOL%: | ||
0xA9:LDA # | 0xA9:LDA # |