spjewkes / jrnz

A work-in-progress ZX Spectrum emulator
MIT License
1 stars 0 forks source link

Instructions should tell the main loop how to increment the PC #9

Open spjewkes opened 7 years ago

spjewkes commented 7 years ago

With the implementation of LDDR we need some additional logic to decide on the value of PC. The main loop should query the current instruction for this value rather than setting it by itself. However, this will impact relative jump behaviour, so care will be needed.