about summary refs log tree commit diff stats
path: root/319timer.subx
diff options
context:
space:
mode:
Diffstat (limited to '319timer.subx')
-rw-r--r--319timer.subx13
1 files changed, 13 insertions, 0 deletions
diff --git a/319timer.subx b/319timer.subx
new file mode 100644
index 00000000..a88af39e
--- /dev/null
+++ b/319timer.subx
@@ -0,0 +1,13 @@
+== code
+
+timer-counter:  # -> _/eax: int
+    # . prologue
+    55/push-ebp
+    89/<- %ebp 4/r32/esp
+    #
+    8b/-> *Timer-counter 0/r32/eax
+$timer-counter:end:
+    # . epilogue
+    89/<- %esp 5/r32/ebp
+    5d/pop-to-ebp
+    c3/return