diff --git a/OSBindings/Mac/Clock SignalTests/ARMDecoderTests.mm b/OSBindings/Mac/Clock SignalTests/ARMDecoderTests.mm index 80db06897..3cfeffbce 100644 --- a/OSBindings/Mac/Clock SignalTests/ARMDecoderTests.mm +++ b/OSBindings/Mac/Clock SignalTests/ARMDecoderTests.mm @@ -19,7 +19,10 @@ struct Scheduler { template void perform(Condition, Multiply) {} template void perform(Condition, SingleDataTransfer) {} template void perform(Condition, BlockDataTransfer) {} - template void perform(Condition, Branch) {} + + template void perform(Condition condition, Branch branch) { + printf("Branch %sif %d; add %08x\n", op == Operation::BL ? "with link " : "", int(condition), branch.offset()); + } template void perform(Condition, CoprocessorRegisterTransfer) {} template void perform(Condition, CoprocessorDataOperation) {} template void perform(Condition, CoprocessorDataTransfer) {} @@ -38,7 +41,7 @@ struct Scheduler { - (void)testXYX { Scheduler scheduler; - InstructionSet::ARM::dispatch(1, scheduler); + InstructionSet::ARM::dispatch(0xEAE06900, scheduler); // const auto intr = Instruction(1); // NSLog(@"%d", intr.operation()); }