notes:sysnet
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
notes:sysnet [2015/02/10 11:57] – [datamanip] bfairch2 | notes:sysnet [2015/03/04 15:54] (current) – [sim] mp010784 | ||
---|---|---|---|
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 | + | * AND (return in hex)bfairch2 x |
- | * OR | + | * OR |
- | * NOT | + | * NOT (return in hex)bfairch2 x |
- | * exclusive-OR (XOR, or as we may see it called: EOR) | + | * exclusive-OR (XOR, or as we may see it called: EOR) (return in hex) bfairch2 x |
* others? | * others? | ||
* flags register | * flags register | ||
Line 82: | Line 82: | ||
O means it is a work in progress | O means it is a work in progress | ||
x means it is finished | x means it is finished | ||
- | * mem2reg | + | |
- | * hex2mem | + | due to new realizations in how the program will work, we no longer need any of the mem2 or 2mem scripts. |
- | * dec2mem | + | |
- | * oct2mem | + | |
- | * reg2mem | + | |
* oct2hex | * oct2hex | ||
* dec2hex | * dec2hex | ||
* reg2hex | * reg2hex | ||
- | * mem2hex | ||
* hex2oct | * hex2oct | ||
* dec2oct | * dec2oct | ||
* reg2oct | * reg2oct | ||
- | * mem2oct | ||
* hex2dec | * hex2dec | ||
* oct2dec | * oct2dec | ||
* reg2dec | * reg2dec | ||
- | * mem2dec | + | |
* core I/O functionality | * core I/O functionality | ||
* stdin.c | * stdin.c | ||
Line 105: | Line 101: | ||
====memory==== | ====memory==== | ||
+ | ALL memory scripts will return values in octal | ||
+ | |||
Functionality related to memory (RAM/ROM), which the CPU treats as external and non-primary storage. | Functionality related to memory (RAM/ROM), which the CPU treats as external and non-primary storage. | ||
Line 218: | 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 # | ||
Line 268: | Line 266: | ||
0x7E:ROR $%ABSOL%: | 0x7E:ROR $%ABSOL%: | ||
0x40:RTI $%IMPL%:1:6 | 0x40:RTI $%IMPL%:1:6 | ||
- | 0x60:RTS $%IMPL%:1:6 | + | 0x60:RTS $%IMPL%: |
0xE9:SBC wedge (in class) | 0xE9:SBC wedge (in class) | ||
- | 0xE5:SBC $%ZPAGE%:2:3 | + | 0xE5:SBC $%ZPAGE%:2:3784 |
0xF5:SBC $%ZPAGE%, | 0xF5:SBC $%ZPAGE%, | ||
0xED:SBC $%ABSOL%: | 0xED:SBC $%ABSOL%: |
notes/sysnet.1423587434.txt.gz · Last modified: 2015/02/10 11:57 by bfairch2