Explorar o código

fix in(reg) real_cyc in asm.rs

dkhayes117 %!s(int64=3) %!d(string=hai) anos
pai
achega
2de8fc5930
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      src/asm.rs

+ 1 - 1
src/asm.rs

@@ -99,7 +99,7 @@ pub unsafe fn delay(cycles: u32) {
             "1:",
             "addi {0}, {0}, -1",
             "bne {0}, zero, 1b",
-            in(real_cyc)
+            in(reg) real_cyc
             )
         }