S
Sirius
Код:
[ORG 0x7C00]
begin:
cli
mov ax, cs
mov ds, ax
mov ss, ax
mov sp, start
sti
mov si, msg
mov ah, 00h
mov al, 03h
int 10h
call print
cli
hlt
jmp short $
print:
.loop:
lodsb
test al, al
jz .quit
mov ah, 0x0E
mov bh, 0eh
int 0x10
jmp short .loop
.quit:
ret
msg: db "Test!",0x0A,0x0D,0
times 510-($-$$) db 0
db 0xAA, 0x55