mirror of
https://gitlab.os-k.eu/os-k-team/kvisc.git
synced 2023-08-25 14:05:46 +02:00
xor
This commit is contained in:
parent
4dd2115592
commit
785648e3db
@ -10,8 +10,8 @@ start:
|
|||||||
|
|
||||||
call main
|
call main
|
||||||
|
|
||||||
;call CMD.builtins.dir
|
call CMD.builtins.dir
|
||||||
;hlt
|
hlt
|
||||||
|
|
||||||
; Wait for and print input indefinitely
|
; Wait for and print input indefinitely
|
||||||
.1:
|
.1:
|
||||||
|
@ -3,7 +3,7 @@ NAME_MAX := 256
|
|||||||
CMD.builtins.dir:
|
CMD.builtins.dir:
|
||||||
push nx0
|
push nx0
|
||||||
|
|
||||||
sub nx0, nx0 # no. of files found
|
xor nx0, nx0 # no. of files found
|
||||||
|
|
||||||
mov rcx, STRLEN_MAX
|
mov rcx, STRLEN_MAX
|
||||||
mov rdx, .dirmsg
|
mov rdx, .dirmsg
|
||||||
|
Loading…
x
Reference in New Issue
Block a user