mirror of
https://gitlab.os-k.eu/os-k-team/kvisc.git
synced 2023-08-25 14:05:46 +02:00
dos
This commit is contained in:
parent
fa4457c567
commit
fd5dc45ff3
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user