Skip to content

Instantly share code, notes, and snippets.

org 0x7c00 ; We are loaded by BIOS at 0x7C00
bits 16
mov si, msg2
call Print
mov si, msg3
call Print
call get_cmd
;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