Programming

Print Vertical Line in Middle of Screen – Assembly Code

[su_box title="Verticle Line" 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…

By Liam Flick1 min read
Share
Share

[su_box title=”Verticle Line” 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,80
column:
mov [si],1430h

add si,160

loop column

ret
main endp

[/su_box]

OutPut Screen:

Print Vertical Line in Middle of Screen

Find More Assembly Codes Here!

Share this article