Skip to content

SPC700 SUBW tests do not test 0, 0 #34

@twvd

Description

@twvd

Subtracting 0 from 0 will still set the carry flag because the SPC700, like many CPUs, uses two's complement subtraction. Naive subtract implementations will pass the tests now because there's no test that verifies flag behavior for subtracting 0 from 0.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions