mirror of
https://github.com/mre/mos6502.git
synced 2024-11-25 02:33:26 +00:00
Fix range literal overflow.
This commit is contained in:
parent
fd68b8dc58
commit
7210ee7d71
@ -1230,8 +1230,8 @@ fn compare_with_y_register_test() {
|
|||||||
fn exclusive_or_test() {
|
fn exclusive_or_test() {
|
||||||
let mut machine = Machine::new();
|
let mut machine = Machine::new();
|
||||||
|
|
||||||
for a_before in 0..256 {
|
for a_before in 0us..256 {
|
||||||
for val in 0..256 {
|
for val in 0us..256 {
|
||||||
machine.execute_instruction(
|
machine.execute_instruction(
|
||||||
(Instruction::LDA, OpInput::UseImmediate(a_before as u8))
|
(Instruction::LDA, OpInput::UseImmediate(a_before as u8))
|
||||||
);
|
);
|
||||||
|
Loading…
Reference in New Issue
Block a user