Documente Academic
Documente Profesional
Documente Cultură
boot_id
boot_b_kl
boot_SinCL
boot_resS
boot_FATs
boot_rootEl
boot_SinDSK
boot_discr
boot_SinFAT
boot_SinCIL
boot_heads
boot_hidS
boot_countS
boot_sign
boot_SN
boot_label
boot_IDFS
start:
db
dw
db
dw
db
dw
dw
db
dw
dw
dw
dd
dw
db
dd
db
db
0,0,0,0,0,0,0,0
512
1
1
2
224
2880
0F0h
9
18
2
0
0
0
0
255,255,0,0,0,0,0,0,0,0,0
1,0,0,0,0,0,0,0
[ORG 0]
jmp 07C0h:_start
msg1
lmsg1
db 'Laboratorul'
EQU $-msg1
msg2
lmsg2
db 'nr1'
EQU $-msg2
msg3
lmsg3
db 'SOMIPP'
EQU $-msg3
msg4
lmsg4
db 'Cobilas'
EQU $-msg4
msg5
lmsg5
db 'Adrian'
EQU $-msg5
msg6
lmsg6
msg7
lmsg7
msg8
lmsg8
db
EQU
color db 09,07,05,02,04,06
space db 57,46,35,20,10,5
_start:
;curatirea ecranului
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:
mov
mov
string)
mov
mov
mov
mov
mov
mov
int
ah,13h
al,1
;numarul functiei
;write mode (advance cursor, ASCII
bh,0
bl,[color+si]
cx,lmsg1
dh,8
dl,25
bp,msg1
10h
mov
mov
string)
mov
mov
mov
mov
mov
mov
int
ah,13h
al,1
;numarul functiei
;write mode (advance cursor, ASCII
bh,0
bl,[color+si]
cx,lmsg2
dh,8
dl,37
bp,msg2
10h
mov ah,13h
;numarul functiei
mov
string)
mov
mov
mov
mov
mov
mov
int
al,1
bh,0
bl,[color+si]
cx,lmsg3
dh,8
dl,41
bp,msg3
10h
mov
mov
string)
mov
mov
mov
mov
mov
mov
int
ah,13h
al,1
;numarul functiei
;write mode (advance cursor, ASCII
bh,0
bl,[color+si]
cx,lmsg4
dh,8
dl,48
bp,msg4
10h
mov
mov
string)
mov
mov
mov
mov
mov
mov
int
ah,13h
al,1
;numarul functiei
;write mode (advance cursor, ASCII
bh,0
bl,[color+si]
cx,lmsg5
dh,8
dl,56
bp,msg5
10h
ret
printallrow:
mov
mov
string)
mov
mov
mov
mov
mov
mov
int
ah,13h
al,1
;numarul functiei
;write mode (advance cursor, ASCII
bh,0
bl,09
cx,lmsg6
dh,10
dl,[space+si]
bp,msg6
10h
mov
mov
string)
mov
mov
mov
ah,13h
al,1
;numarul functiei
;write mode (advance cursor, ASCII
bh,0
bl,09
cx,lmsg7
mov
mov
mov
int
mov
mov
string)
mov
mov
mov
mov
mov
mov
int
dh,12
dl,[space+si]
bp,msg7
10h
;rindul de afisare
;coloana de afisare
ah,13h
al,1
;numarul functiei
;write mode (advance cursor, ASCII
bh,0
bl,09
cx,lmsg8
dh,14
dl,[space+si]
bp,msg8
10h
ret
interrup:
mov cx,000ah
mov dx,0000h
mov ah,86h
int 15h
ret
clear:
mov ax, 03
int 10h
ret
times 510-($-$$) db 0
dw 0AA55h
;curatirea ecranului