can compare strings and output help text when user types HELP
This commit is contained in:
@@ -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
|
||||
|
Reference in New Issue
Block a user