Loading...
Sunday, May 4, 2014

Contoh Code Program Assembly untuk Menampilkan Karakter

Menampilkan 1 Karakter

org 100h

proses:
mov ah, 01h
mov dl, 'K' 
int 21h

int 20h
end proses
================================================

Menampilkan Abjad

.model small
.code
org 100h
mulai:
mov ah,02h
mov dl,'A'
mov cx,26
ulang:
int 21h
inc dl
loop ulang
int 20h
end mulai
Next
This is the most recent post.
Older Post

0 comments:

Post a Comment

 
TOP