You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
There are two issues with our current opcode/addressing mode unit tests:
The current tests use the conceit of having each opcode repeat its opcode as an operand, which isn't sufficient to test endianness of output on its own.
The unit tests are hand-generated instead of machine generated from the opcode specs.
gensets.py should get a companion script gentests.py to generate the test cases, and the test instructions' arguments should produce predictable bytes distinct from the opcodes themselves and from each other.
The text was updated successfully, but these errors were encountered:
There are two issues with our current opcode/addressing mode unit tests:
gensets.py
should get a companion scriptgentests.py
to generate the test cases, and the test instructions' arguments should produce predictable bytes distinct from the opcodes themselves and from each other.The text was updated successfully, but these errors were encountered: