Integer comparison: Difference between revisions

Content added Content deleted
Line 70: Line 70:
Code is called as a subroutine (i.e. JSR Compare).
Code is called as a subroutine (i.e. JSR Compare).
Specific OS/hardware routines for user input and printing are left unimplemented.
Specific OS/hardware routines for user input and printing are left unimplemented.
It should be noted that this is strictly an unsigned comparison.
<lang 6502asm>Compare PHA ;push Accumulator onto stack
<lang 6502asm>Compare PHA ;push Accumulator onto stack
JSR GetUserInput ;routine not implemented
JSR GetUserInput ;routine not implemented