diff --git a/libcortex_a9/src/asm.rs b/libcortex_a9/src/asm.rs index 5b3aa15..04272a8 100644 --- a/libcortex_a9/src/asm.rs +++ b/libcortex_a9/src/asm.rs @@ -54,7 +54,7 @@ pub unsafe fn enter_critical() -> bool { let mut cpsr: u32; asm!( "mrs {}, cpsr - cpsid i", lateout(reg) cpsr); + cpsid i", out(reg) cpsr); (cpsr & (1 << 7)) == 0 }