1
0
mirror of https://gitlab.os-k.eu/os-k-team/kvisc.git synced 2023-08-25 14:05:46 +02:00
This commit is contained in:
julianb0 2019-05-30 18:36:06 +02:00
parent fa4457c567
commit fd5dc45ff3
No known key found for this signature in database
GPG Key ID: DDF8325C95299A62

View File

@ -9,6 +9,9 @@ strrev:
cmovz b[ax0], 0
jz .4
; save str's location
mov rdx, ax1
.1:
test b[ax1+1], b[ax1+1]
jz .2
@ -19,8 +22,8 @@ strrev:
.2:
mov b[ax0], b[ax1]
test b[ax1], b[ax1]
jz .3
cmp ax1, rdx
je .3
inc ax0
dec ax1