aboutsummaryrefslogtreecommitdiffhomepage
path: root/examples/fib.rs
diff options
context:
space:
mode:
Diffstat (limited to 'examples/fib.rs')
-rw-r--r--examples/fib.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/fib.rs b/examples/fib.rs
index c7505bb..b495067 100644
--- a/examples/fib.rs
+++ b/examples/fib.rs
@@ -45,7 +45,7 @@ fn main() {
let sum = Reg64::rax;
let tmp = Reg64::rcx;
- let prv = Reg64::rbx;
+ let prv = Reg64::rdx;
asm.mov(tmp, Imm64::from(0));
asm.mov(prv, Imm64::from(1));