slightly improved asm debug message

This commit is contained in:
Mwa
2026-03-26 21:24:14 +01:00
parent 96c3a514f2
commit 689f4b77fd

View File

@@ -207,7 +207,9 @@ impl Instruction {
}
};
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(());
}
encode_op2(11, cond.into(), jump_distance, reg.into(), *op2)