Skip to content

Commit 48ce6c1

Browse files
committed
Fix inline-asm typo on in(reg)
1 parent acb64c5 commit 48ce6c1

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
@@ -99,7 +99,7 @@ pub unsafe fn delay(cycles: u32) {
9999
"1:",
100100
"addi {0}, {0}, -1",
101101
"bne {0}, zero, 1b",
102-
in(reg)
102+
in(real_cyc)
103103
)
104104
}
105105

0 commit comments

Comments
 (0)