Skip to content

Commit e106d4a

Browse files
committed
Add CPSR to asm::delay's clobber flags. Fixes #195
1 parent 1cb6baf commit e106d4a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/asm.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ pub fn delay(_n: u32) {
4242
bne.n 1b"
4343
: "+r"(_n / 4 + 1)
4444
:
45-
:
45+
: "cpsr"
4646
: "volatile");
4747
},
4848

0 commit comments

Comments
 (0)