can compare strings and output help text when user types HELP

This commit is contained in:
2025-06-07 15:42:27 +01:00
parent 392a70bb39
commit 355a4de559
10 changed files with 12 additions and 17 deletions

View File

@@ -7,7 +7,7 @@
; ^
; SI => lodsb loads value stored at SI to AX and then increments SI if DF is 0
os_compare_strings:
pusha
cld
.compare:
lodsb
@@ -19,10 +19,8 @@ os_compare_strings:
.unequal:
mov cl, 0 ; Change to 0 if unquality is proven
popa
ret
.equal:
mov cl, 1
popa
ret