abstracting
[sped.git] / utils.asm
diff --git a/utils.asm b/utils.asm
new file mode 100644 (file)
index 0000000..fd8529d
--- /dev/null
+++ b/utils.asm
@@ -0,0 +1,27 @@
+
+extern memmove
+
+global shiftLeft
+global shiftRight
+
+section .text
+
+shiftLeft:
+    push ebp
+    mov ebp, esp
+    
+    
+    
+    mov esp, ebp
+    pop ebp
+    ret
+
+shiftRight:
+    push ebp
+    mov ebp, esp
+
+    
+    
+    mov esp, ebp
+    pop ebp
+    ret