Commit Graph

75 Commits

Author SHA1 Message Date
Preston Skupinski
03387a550c have the examples make sure the registers are 16-bit 2011-05-05 11:11:58 -04:00
Preston Skupinski
efa6b123ac updated the TODO 2011-05-05 11:00:59 -04:00
Preston Skupinski
7572795c12 add some examples demonstrating branching support to the README 2011-05-04 22:47:54 -04:00
Preston Skupinski
a9f15f133b set the n bit of the p status register as required and a few bug fixes otherwise 2011-05-04 22:39:19 -04:00
Preston Skupinski
94af723baa added DEC accumulator, DEC absolute, DEC direct page, DEX, and DEY as well as added overflow handling for INC and DEC operations and made some style changes 2011-05-03 00:00:40 -04:00
Preston Skupinski
5a349a4381 added BPL, BMI 2011-05-02 22:28:20 -04:00
Preston Skupinski
9795ea416b added BCC, BCS, BEQ, BNE, BVC, BVS 2011-05-02 21:11:57 -04:00
Preston Skupinski
ddbf51d8ef added BRA 2011-05-02 20:20:20 -04:00
Preston Skupinski
3c4e7264cf remove unnecessary false parameter from function call 2011-05-02 19:02:55 -04:00
Preston Skupinski
8a401c9eba added JMP absolute indirect and repositioned the incrementing of the program counter so the program counter doesn't incorrectly increment after a branch or jump and increments at the correct time anyways 2011-05-02 18:10:17 -04:00
Preston Skupinski
952b6ba840 added JMP absolute 2011-05-02 16:29:09 -04:00
Preston Skupinski
a5d690e9cb quick fix to a silly mistake 2011-05-02 08:03:53 -04:00
Preston Skupinski
4828d9c1b1 added STA and LDA absolute long 2011-05-01 20:09:14 -04:00
Preston Skupinski
09fce7cff5 added STA direct page indirect 2011-05-01 17:38:04 -04:00
Preston Skupinski
96a8899204 added LDA direct page indirect (0xb2) 2011-05-01 16:52:48 -04:00
Preston Skupinski
982107a90b fixed a mistake where I mixed up high byte and low byte in a few cases 2011-05-01 16:07:10 -04:00
Preston Skupinski
fc3dba463d update the TODO 2011-05-01 13:54:49 -04:00
Preston Skupinski
93ae3ec6a0 check if transferred value is zero and set the z bit of the p status register 2011-05-01 13:46:28 -04:00
Preston Skupinski
b167d4c164 added TAX, TAY, TXA and TYA 2011-05-01 13:15:16 -04:00
Preston Skupinski
08593831b3 added TXY and TYX 2011-05-01 12:20:18 -04:00
Preston Skupinski
44696ed8ce direct page addressing when using an index register must overflow to 0x0000 and not be allowed to exceed 0xffff, so 0xfff0+0x12 should result in an address of 0x02 2011-04-30 23:54:07 -04:00
Preston Skupinski
67b19ee43a make the examples a bit more obvious as to how to use 2011-04-30 22:35:41 -04:00
Preston Skupinski
a580ef2cdb updated the TODO and added a .gitignore so my vim *swp files don't accidently wind up in here 2011-04-30 22:24:57 -04:00
Preston Skupinski
935d3093f4 added a README 2011-04-30 21:59:08 -04:00
Preston Skupinski
f809dfccc7 initial commit 2011-04-30 21:45:56 -04:00