Skip to content

Commit

Permalink
Fix: forgot ret in memcpy function
Browse files Browse the repository at this point in the history
  • Loading branch information
NikitaIvanovV committed Apr 24, 2022
1 parent d7aa0c6 commit 963efc9
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions utils.asm
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,8 @@ memcpy:
; repeat rcx times
rep movsb

ret

; rax: upper limit
; returns: random num in rax
rand:
Expand Down

0 comments on commit 963efc9

Please sign in to comment.