about summary refs log tree commit diff stats
path: root/baremetal/312copy.subx
diff options
context:
space:
mode:
authorKartik K. Agaram <vc@akkartik.com>2021-02-11 19:34:55 -0800
committerKartik K. Agaram <vc@akkartik.com>2021-02-11 19:34:55 -0800
commitd1bcd1421f7a0e87105499a738bae3b3a5c92de9 (patch)
tree550a6070a56dac6ed41f0a8161ee19976ee476c0 /baremetal/312copy.subx
parent884c92984fd1341eed3725263434534dd915a795 (diff)
downloadmu-d1bcd1421f7a0e87105499a738bae3b3a5c92de9.tar.gz
7723 - baremetal: rendering string values
Diffstat (limited to 'baremetal/312copy.subx')
-rw-r--r--baremetal/312copy.subx13
1 files changed, 13 insertions, 0 deletions
diff --git a/baremetal/312copy.subx b/baremetal/312copy.subx
new file mode 100644
index 00000000..d2a6f661
--- /dev/null
+++ b/baremetal/312copy.subx
@@ -0,0 +1,13 @@
+== code
+
+copy-array-object:  # src: (addr array T), dest-ah: (addr handle array T)
+    # . prologue
+    55/push-ebp
+    89/<- %ebp 4/r32/esp
+    #
+    (copy-array Heap *(ebp+8) *(ebp+0xc))
+$copy-array-object:end:
+    # . epilogue
+    89/<- %esp 5/r32/ebp
+    5d/pop-to-ebp
+    c3/return