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 19:09:32 +02:00
parent c6bfe9fa34
commit 439aa159ea
No known key found for this signature in database
GPG Key ID: DDF8325C95299A62

View File

@ -11,8 +11,7 @@ strrev:
; save str's location ; save str's location
; xxx why is dec'ing needed? ; xxx why is dec'ing needed?
;lea rdx, b[ax1 + -1] lea rdx, b[ax1 + -1]
mov rdx, ax1
; go to str's end, just before ; go to str's end, just before
; the null terminator ; the null terminator
@ -36,7 +35,7 @@ strrev:
jmp .2 jmp .2
.3: .3:
mov b[ax0+2], 0 mov b[ax0+1], 0
.4: .4:
ret ret