Skip to content

PC is consistently wrong. #3

@redsuperbat

Description

@redsuperbat

These tests are great for sanity checking the CPU of my emulator.
I have noticed though that for some tests the PC is consistently 1-3 off mark.

I have checked the length of my instructions, they are conforming to the spec. I have also written tests to assure that.
If I disregard the PC check all tests pass with flying colors.

I assume that these tests are correct, but I can't figure out why it's consistently 1-3 off. Perhaps there is some setup I'm missing?

Thanks for the help!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions