Professional Documents
Culture Documents
Документ Microsoft Office Word
Документ Microsoft Office Word
boot_id db 0,0,0,0,0,0,0,0
boot_b_kl dw 512
boot_SinCL db 1
boot_resS dw 1
boot_FATs db 2
boot_rootEl dw 224
boot_SinDSK dw 2880
boot_discr db 0F0h
boot_SinFAT dw 9
boot_SinCIL dw 18
boot_heads dw 2
boot_hidS dd 0
boot_countS dw 0
boot_sign db 0
boot_SN dd 0
boot_label db 255,255,0,0,0,0,0,0,0,0,0
boot_IDFS db 1,0,0,0,0,0,0,0
start:
[ORG 0]
msg1 db 'Laboratorul'
lmsg1 EQU $-msg1
msg2 db 'nr1'
lmsg2 EQU $-msg2
msg3 db 'SOMIPP'
lmsg3 EQU $-msg3
msg4 db 'Cobilas'
lmsg4 EQU $-msg4
msg5 db 'Adrian'
lmsg5 EQU $-msg5
color db 09,07,05,02,04,06
space db 57,46,35,20,10,5
_start:
; Update the segment registers
mov ax, cs
mov ds, ax
mov es, ax
mov si,0
a:
call printfirstrow
call printallrow
call interrup
call clear
call interrup
inc si
cmp si,6
je b
jne a
b:
mov si,0
jmp a
printfirstrow:
ret
printallrow:
ret
interrup:
mov cx,000ah
mov dx,0000h
mov ah,86h
int 15h
ret
clear:
mov ax, 03 ;curatirea ecranului
int 10h
ret
times 510-($-$$) db 0
dw 0AA55h