1
0
mirror of https://github.com/mre/mos6502.git synced 2024-06-01 14:41:38 +00:00

Fix range literal overflow.

This commit is contained in:
Andrew Keeton 2015-01-17 18:51:26 -05:00
parent fd68b8dc58
commit 7210ee7d71

View File

@ -1230,8 +1230,8 @@ fn compare_with_y_register_test() {
fn exclusive_or_test() {
let mut machine = Machine::new();
for a_before in 0..256 {
for val in 0..256 {
for a_before in 0us..256 {
for val in 0us..256 {
machine.execute_instruction(
(Instruction::LDA, OpInput::UseImmediate(a_before as u8))
);