org 100h
call anita
anita proc
mulai1: mov al, 1
mov bh, 0
mov bl, 0100_1011b
mov cx, msg1end - offset msg1 ; calculate message size.
mov dl, 40
mov dh, 00
push cs
pop es
mov bp, offset msg1
mov ah, 13h
int 10h
jmp msg1end
msg1 db "8"
msg1end:
jmp mulai2
mulai2: mov al, 1
mov bh, 0
mov bl, 0100_1011b
mov cx, msg2end - offset msg2 ; calculate message size.
mov dl, 00
mov dh, 12
push cs
pop es
mov bp, offset msg2
mov ah, 13h
int 10h
jmp msg2end
msg2 db "8"
msg2end:
jmp mulai3
mulai3: mov al, 1
mov bh, 0
mov bl, 0100_1011b
mov cx, msg3end - offset msg3 ; calculate message size.
mov dl, 79
mov dh, 12
push cs
pop es
mov bp, offset msg3
mov ah, 13h
int 10h
jmp msg3end
msg3 db "8"
msg3end:
jmp mulai4
mulai4: mov al, 1
mov bh, 0
mov bl, 0100_1011b
mov cx, msg4end - offset msg4 ; calculate message size.
mov dl, 40
mov dh, 24
push cs
pop es
mov bp, offset msg4
mov ah, 13h
int 10h
jmp msg4end
msg4 db "8"
msg4end:
ret
anita endp
end
Tidak ada komentar:
Posting Komentar