From 05104c93ca96b3688d477a0c9aee9d0d1e9ddcd4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ond=C5=99ej=20Hru=C5=A1ka?= Date: Mon, 5 Oct 2020 00:35:04 +0200 Subject: [PATCH] fix ld printed as mov --- crsn/src/builtin/exec.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/crsn/src/builtin/exec.rs b/crsn/src/builtin/exec.rs index f65f8a6..b23cb80 100644 --- a/crsn/src/builtin/exec.rs +++ b/crsn/src/builtin/exec.rs @@ -201,7 +201,7 @@ impl OpTrait for BuiltinOp { } } BuiltinOp::Drop(obj) => sexp::list(&[A("drop"), A(obj)]), - BuiltinOp::Move { dst, src } => sexp::list(&[A("mov"), A(dst), A(src)]), + BuiltinOp::Move { dst, src } => sexp::list(&[A("ld"), A(dst), A(src)]), BuiltinOp::StoreStatus { dst } => sexp::list(&[A("sst"), A(dst)]), BuiltinOp::LoadStatus { src } => sexp::list(&[A("lst"), A(src)]) }