slightly improved asm debug message
This commit is contained in:
@@ -207,7 +207,9 @@ impl Instruction {
|
|||||||
}
|
}
|
||||||
};
|
};
|
||||||
if jump_distance > 15 {
|
if jump_distance > 15 {
|
||||||
println!("Error, cannot skip more than 15 instructions");
|
println!(
|
||||||
|
"Error, cannot skip {jump_distance} which is more than 15 instructions"
|
||||||
|
);
|
||||||
return Err(());
|
return Err(());
|
||||||
}
|
}
|
||||||
encode_op2(11, cond.into(), jump_distance, reg.into(), *op2)
|
encode_op2(11, cond.into(), jump_distance, reg.into(), *op2)
|
||||||
|
|||||||
Reference in New Issue
Block a user