Print ABC in Diagonal – Assembly Language Code

0

[su_box title=”ABC In Diagonal” style=”bubbles” box_color=”#1d318d”]

; 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

[/su_box]

Table of Contents

Output Screen:

Assembly Code toprint abc in diagoanl

Find More Assembly Codes Here!

Leave A Reply