From 963efc9f4c814197fe78a722cf2ebaec5bd5195d Mon Sep 17 00:00:00 2001 From: Nikita Ivanov Date: Mon, 25 Apr 2022 01:29:49 +0500 Subject: [PATCH] Fix: forgot ret in memcpy function --- utils.asm | 2 ++ 1 file changed, 2 insertions(+) diff --git a/utils.asm b/utils.asm index 880d3dd..5174ce2 100644 --- a/utils.asm +++ b/utils.asm @@ -17,6 +17,8 @@ memcpy: ; repeat rcx times rep movsb + ret + ; rax: upper limit ; returns: random num in rax rand: