ABC In Diagonal

; You may customize this and other start-up templates;
; The location of this template is c:\emu8086\inc\0_com_template.txt

org 100h

; add your code here

.data

.code

main proc

mov ax,0b800h
mov ds,ax

mov cx,25
mov [si],1441h
mov bx,[si]

mov si,158
abc:

mov [si],bx

add si,154
inc bl

loop abc

ret
main endp

Output Screen: 

Assembly Code toprint abc in diagoanl

 

Find More Assembly Codes Here!

 

 

 

 

LEAVE A REPLY

Please enter your comment!
Please enter your name here

This site uses Akismet to reduce spam. Learn how your comment data is processed.