This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
org 0x7c00 ; We are loaded by BIOS at 0x7C00 | |
bits 16 | |
mov si, msg2 | |
call Print | |
mov si, msg3 | |
call Print | |
call get_cmd |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
;Based of of MIKEOS | |
os_string_strincmp: | |
pusha | |
.more: | |
mov al, [si] ; Retrieve string contents | |
mov bl, [di] | |
cmp al, bl ; Compare characters at current location | |
jne .not_same |