diff options
author | Kartik K. Agaram <vc@akkartik.com> | 2014-07-31 02:27:41 -0700 |
---|---|---|
committer | Kartik K. Agaram <vc@akkartik.com> | 2014-07-31 02:27:41 -0700 |
commit | b20165a89034e3ff6bf3959529c4dec4bab11f40 (patch) | |
tree | dfab8fa8cec8a02bc31146a467dca39e2683d74e /mu.arc.t | |
parent | 52c3822e0870942112a7d180d81d2caedd6aea4e (diff) | |
download | mu-b20165a89034e3ff6bf3959529c4dec4bab11f40.tar.gz |
44 - now 'deref' is a bit of metadata on any operand rather than a special op
Still only works in read, and only in a single instruction. But these are details.
Diffstat (limited to 'mu.arc.t')
-rw-r--r-- | mu.arc.t | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/mu.arc.t b/mu.arc.t index 4d2efd3c..9883e874 100644 --- a/mu.arc.t +++ b/mu.arc.t @@ -310,11 +310,11 @@ '((main ((1 integer-address) <- literal 2) ((2 integer) <- literal 34) - ((3 integer) <- deref (1 integer-address))))) + ((3 integer) <- copy (1 integer-address deref))))) (run function*!main) ;? (prn memory*) (if (~iso memory* (obj 1 2 2 34 3 34)) - (prn "F - 'deref' performs indirect addressing")) + (prn "F - 'copy' performs indirect addressing")) (clear) (add-fns |