!!!!! BUSTRANSACTION.VALUE IS NOW 8 BIT
apparently it was 16 bit before, thing which I forgot about and that
caused a lot of issues with bit shifting and masks, so I fixed that
- I also changed REL and all the branching (B*) opcodes to match it,
they now get the new PC from x.address, not x.value, which is more
logical and also means x.value doesnt have to be 16 bit anymore
(hurray!!)
-rewrote and fixed: ASL
ROL
SBC
- Also fixed typo on the opcode info registry at AND (0x21), it
was INDY instead of INDX
- Added __restrict__ to more opcodes
if the tmp variable in ADC went over 0xFF everything would break
also the overflow flag in the SR used to be set improperly
this fixes ADC (hopefully) entirely
:)