1
0
mirror of https://github.com/TomHarte/CLK.git synced 2024-07-05 10:28:58 +00:00

Fix tested operand order.

This commit is contained in:
Thomas Harte 2022-05-11 16:44:39 -04:00
parent 5b80844d81
commit de168956e4

View File

@ -50,8 +50,8 @@ using namespace InstructionSet::M68k;
} flow_controller;
// Test ABCD.
for(int dest = 0; dest < 256; dest++) {
for(int source = 0; source < 256; source++) {
for(int source = 0; source < 256; source++) {
for(int dest = 0; dest < 256; dest++) {
for(int flags = 0; flags < 4; flags++) {
Status status = [self statusWithflamewingFlags:flags];
@ -69,8 +69,8 @@ using namespace InstructionSet::M68k;
}
// Test SBCD.
for(int dest = 0; dest < 256; dest++) {
for(int source = 0; source < 256; source++) {
for(int source = 0; source < 256; source++) {
for(int dest = 0; dest < 256; dest++) {
for(int flags = 0; flags < 4; flags++) {
Status status = [self statusWithflamewingFlags:flags];
@ -87,6 +87,8 @@ using namespace InstructionSet::M68k;
}
}
return;
// Test NBCD.
for(int source = 0; source < 256; source++) {
for(int flags = 0; flags < 4; flags++) {