Reserve R15.

This commit is contained in:
losfair 2019-02-28 23:22:21 +08:00
parent adb309fbd8
commit 64142c4cb8

View File

@ -99,7 +99,7 @@ impl Register {
9 => R12,
10 => R13,
11 => R14,
12 => R15,
// 12 => R15, // R15 is reserved for memory base pointer.
_ => unreachable!(),
}
}