Text

Sunday, 3 June 2012

TASM mencetak A - Z dan Y - A

.model small
.code
org 100h
mulai :
mov ah, 2h
mov dl, 'A'
mov cx, 26

ulang :
int 21h
inc dl
loop ulang


mov dl, 'Y'
mov cx, 25
lagi :
int 21h
dec dl
loop lagi

int 20h
end mulai

No comments:

Post a Comment