disasm: fix failing tests

This commit is contained in:
InusualZ 2022-06-08 20:53:31 -04:00
parent 2de9ecc844
commit d23fb912b8
1 changed files with 3 additions and 3 deletions

View File

@ -498,7 +498,7 @@ fn test_ins_mfmsr() {
#[test] #[test]
fn test_ins_mfspr() { fn test_ins_mfspr() {
assert_asm!(0x7E1A02A6, "mfspr r16, 832"); assert_asm!(0x7E1A02A6, "mfspr r16, 26");
} }
#[test] #[test]
@ -508,7 +508,7 @@ fn test_ins_mfsr() {
#[test] #[test]
fn test_ins_mftb() { fn test_ins_mftb() {
assert_asm!(0x7C8C42E6, "mftb r4, 392"); assert_asm!(0x7C8C42E6, "mftb r4, 268");
} }
#[test] #[test]
@ -539,7 +539,7 @@ fn test_ins_mtmsr() {
#[test] #[test]
fn test_ins_mtspr() { fn test_ins_mtspr() {
assert_asm!(0x7E75FBA6, "mtspr 703, r19"); assert_asm!(0x7E75FBA6, "mtspr 1013, r19");
} }
#[test] #[test]