diff --git a/bootloader/rustsbi-k210.bin b/bootloader/rustsbi-k210.bin index 58d1c1a7..79d3db85 100755 Binary files a/bootloader/rustsbi-k210.bin and b/bootloader/rustsbi-k210.bin differ diff --git a/bootloader/rustsbi-qemu.bin b/bootloader/rustsbi-qemu.bin index f293ced7..2ae8e542 100755 Binary files a/bootloader/rustsbi-qemu.bin and b/bootloader/rustsbi-qemu.bin differ diff --git a/user/src/bin/02power.rs b/user/src/bin/02power.rs index 86154c71..54fde244 100644 --- a/user/src/bin/02power.rs +++ b/user/src/bin/02power.rs @@ -19,7 +19,7 @@ fn main() -> i32 { index = (index + 1) % SIZE; pow[index] = last * P % MOD; if i % 10000 == 0 { - println!("{}^{}={}", P, i, pow[index]); + println!("{}^{}={}(MOD {})", P, i, pow[index], MOD); } } println!("Test power OK!");