Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Wrong single step for IX/IY instructions #2

Open
giomba opened this issue Oct 17, 2023 · 0 comments
Open

Wrong single step for IX/IY instructions #2

giomba opened this issue Oct 17, 2023 · 0 comments

Comments

@giomba
Copy link
Collaborator

giomba commented Oct 17, 2023

Single-stepping an IX or IY related instruction, takes multiple steps, which is somewhat not desired.
Personally I don't know the Z80 enough, maybe this is just the "normal" way it executes code, and thus the way it has been emulated by the underlying library.
But if this is the case, I expect the underlying Z80 emulation library to provide a way to step atomically an IX or IY-related instruction.

Overall, this is just uncomfortable, but does not affect the functionality of the emulator.

Expected behaviour:

  • reach an IX or IY related instruction
  • step
  • address of next instruction is loaded into PC

Actual behavior:

  • reach an IX or IY related instruction
  • step
  • PC still points to the same instruction
  • step
  • address of next instruction is loaded into PC
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant