1.
.model small
.code
org 100h
mulai:
mov ah,09h
mov bl,00000100b
mov cx, 13
ulang:
int 10h
inc bl
mov ah, 02h
mov dl,'A'
mov cx, 13
lagi:
je bl
int 21h
inc dl
loop lagi
int 20h
end mulai
.code
org 100h
mulai:
mov ah,09h
mov bl,00000100b
mov cx, 13
ulang:
int 10h
inc bl
mov ah, 02h
mov dl,'A'
mov cx, 13
lagi:
je bl
int 21h
inc dl
loop lagi
int 20h
end mulai
Hasil Output
2.
===================================================================
.model small
.code
org 100h
mulai:
vkal db 'STMIK WIDYA UTAMA$'
ulang:
mov DL, vkal[12]
mov ah,02h
int 21h
int 20h
mov ax,bx
cmp ax,11
je exit
inc bx
jmp ulang
exit:
int 20h
end mulai
.code
org 100h
mulai:
vkal db 'STMIK WIDYA UTAMA$'
ulang:
mov DL, vkal[12]
mov ah,02h
int 21h
int 20h
mov ax,bx
cmp ax,11
je exit
inc bx
jmp ulang
exit:
int 20h
end mulai
=====================================================================
Output Program
Tidak ada komentar:
Posting Komentar