Praktikum III - Belajar Menggunakan Looping


PRACTICE I
.model small
.code
org 100h
mulai :
            mov ah,02h
            mov dl,'A'
            mov cx,25
ulang:
            int 21h
            inc dl
loop ulang
           
            mov dl,'Y'
            mov cx,25
ulang1:
            int 21h
            dec dl
loop ulang1
int 20h

HASIL : ABCDEFGHIJKLMNOPQRSTUVWXYYXWVUTSRQPONMLKJIHGFEDCBA





PRACTICE II
.model small
.code
org 100h
mulai :
            mov ah,02h
            mov dl,'B'
            mov cx,13
ulang:
            int 21h
            inc dl
            inc dl
loop ulang

int 20h
end mulai


HASIL : BDFHJLNPRTVY

Lanjut ke Praktikum IV.. Whoamm cuacanya makin dingin saja


 
---------------------------------------------------------------------------------------------------------------------------------------------------------
Ranking: 5
 
© Bosan Kuliah All Rights Reserved