← All SNES demos

Lexicographic Race

Algorithms & Data

Rows move into lexicographic order. A marked byte column shows where each comparison found its deciding difference.

Self-running — no controller input required.

Verify fidelity checks the recorded result against 0xF0BA.

Source strcmprace.cstrcmprace.h in wbniv/llvm-mos-65816

What you see

Rows move into lexicographic order. A marked byte column shows where each comparison found its deciding difference.

What is checked

The test covers string termination, bounded string comparisons, and raw byte comparisons. It checks the sign of all three library routines' results across the input cases.

Compiler stress-test #148. The downloadable ROM and browser player use the same verified artifact.