Chris-Johnston / Easier68k

Work In Progress - A Python M68k assembler and simulator.
https://chris-johnston.me/Easier68k/
MIT License
15 stars 6 forks source link

Add JSR and redesign OPCODE test helper #120

Closed bpas247 closed 6 years ago

bpas247 commented 6 years ago

Fixes #32.

Currently, execution does not work due to an issue with AssemblyParameter.

bpas247 commented 6 years ago

I decided to redesign the OPCODE test helper function to allow for a default value, since JSR did not need to check if it incremented properly since it already checks for the absolute value of the program counter.

Chris-Johnston commented 6 years ago

It appears that the recently added NEG opcode tests need to be updated to use this changed test helper function.

bpas247 commented 6 years ago

@Chris-Johnston

It appears that the recently added NEG opcode tests need to be updated to use this changed test helper function.

I was planning on waiting until PR #109 is merged before I fixed this branch.