Skip to content

Relational operator in run0.asm (6800)  #2

Description

@zu2

Relational operator processing does not seem to work correctly in run0.asm for the 6800.

The BCMP routine performs subtraction on SUBB and SBCA. Only the result of SBCA is reflected in the flags. If the result of the subtraction is AccA=0, ZEQ will be T regardless of the value of AccB. Similarly for the others.

Therefore, the Zxx routine needs to be modified so that it also references the lower byte.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

No labels
No labels

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions