1
0
mirror of https://github.com/mre/mos6502.git synced 2024-06-16 20:29:28 +00:00

Fix inclusive_or_test().

This commit is contained in:
Andrew Keeton 2014-11-20 18:45:52 -05:00
parent d0c376ba90
commit 9c95ade3a3

View File

@ -1247,7 +1247,7 @@ fn inclusive_or_test() {
for a_before in range(0u8, 255u8) {
for val in range(0u8, 255u8) {
machine.execute_instruction(
(instruction::LDA, instruction::UseImmediate(a_before))
(Instruction::LDA, OpInput::UseImmediate(a_before))
);
machine.inclusive_or(val);