Verticle Line

; 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

 

OutPut Screen:

Print Vertical Line in Middle of Screen

 

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.