X-Git-Url: https://git.danieliu.xyz/?p=sped.git;a=blobdiff_plain;f=utils.asm;fp=utils.asm;h=fd8529dd6dc17d88a4460fd6768a2c7963baa8a1;hp=0000000000000000000000000000000000000000;hb=89732d399de9007aaf2894b0c637e8cfb9ed47ac;hpb=7a7ed6ae81978b84911dab0b902e77ebb7e9b735 diff --git a/utils.asm b/utils.asm new file mode 100644 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