mirror of
https://github.com/TomHarte/CLK.git
synced 2025-02-16 18:30:32 +00:00
Fix tested operand order.
This commit is contained in:
parent
5b80844d81
commit
de168956e4
@ -50,8 +50,8 @@ using namespace InstructionSet::M68k;
|
|||||||
} flow_controller;
|
} flow_controller;
|
||||||
|
|
||||||
// Test ABCD.
|
// 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++) {
|
for(int flags = 0; flags < 4; flags++) {
|
||||||
Status status = [self statusWithflamewingFlags:flags];
|
Status status = [self statusWithflamewingFlags:flags];
|
||||||
|
|
||||||
@ -69,8 +69,8 @@ using namespace InstructionSet::M68k;
|
|||||||
}
|
}
|
||||||
|
|
||||||
// Test SBCD.
|
// 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++) {
|
for(int flags = 0; flags < 4; flags++) {
|
||||||
Status status = [self statusWithflamewingFlags:flags];
|
Status status = [self statusWithflamewingFlags:flags];
|
||||||
|
|
||||||
@ -87,6 +87,8 @@ using namespace InstructionSet::M68k;
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
return;
|
||||||
|
|
||||||
// Test NBCD.
|
// Test NBCD.
|
||||||
for(int source = 0; source < 256; source++) {
|
for(int source = 0; source < 256; source++) {
|
||||||
for(int flags = 0; flags < 4; flags++) {
|
for(int flags = 0; flags < 4; flags++) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user