aboutsummaryrefslogtreecommitdiff
path: root/src/cljcc/emit.clj
diff options
context:
space:
mode:
Diffstat (limited to 'src/cljcc/emit.clj')
-rw-r--r--src/cljcc/emit.clj2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cljcc/emit.clj b/src/cljcc/emit.clj
index d18edb3..514cd45 100644
--- a/src/cljcc/emit.clj
+++ b/src/cljcc/emit.clj
@@ -48,7 +48,7 @@
(let [operand (operand-emit (:operand instruction))
assembly-operator (condp = (:unary-operator instruction)
:complement "notl"
- :negate "negl"
+ :hyphen "negl"
(throw (AssertionError. (str "Invalid unary operator: " instruction))))]
[(format " %s %s" assembly-operator operand)]))