This commit is contained in:
julianb0 2019-07-07 15:46:41 +02:00
parent 4dd2115592
commit 785648e3db
No known key found for this signature in database
GPG Key ID: 9C7ACF0C053FB8A1
2 changed files with 3 additions and 3 deletions

View File

@ -10,8 +10,8 @@ start:
call main
;call CMD.builtins.dir
;hlt
call CMD.builtins.dir
hlt
; Wait for and print input indefinitely
.1:

View File

@ -3,7 +3,7 @@ NAME_MAX := 256
CMD.builtins.dir:
push nx0
sub nx0, nx0 # no. of files found
xor nx0, nx0 # no. of files found
mov rcx, STRLEN_MAX
mov rdx, .dirmsg