Skip to content

Commit 2de8fc5

Browse files
committed
fix in(reg) real_cyc in asm.rs
1 parent e8cea0f commit 2de8fc5

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(real_cyc)
102+
in(reg) real_cyc
103103
)
104104
}
105105

0 commit comments

Comments
 (0)