Skip to content

Relational operator in run0.asm (6800)  #2

@zu2

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.

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