Mov Instruction in 8086

Mov is very basic and key instruction in assembly. It moves data from one address to another.it has the widest variety of parameters so that a programmer can use it as...

Print Generic Triangle – Assembly Language Code

Assembly Language Code to Print Hollow Triangle in Generic. ; You may customize this and other start-up templates; ; The location of this template is c:emu8086inc_com_template.txt org 100h .data A db 0 B db 0 C db 0ah D...

Print Vertical Line in Middle of Screen – Assembly Code

; You may customize this and other start-up templates; ; The location of this template is c:emu8086inc_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 ,1430h add si,160 loop column ret main...

Print Rectangular Box in Assembly Language [Nested Loops]

In this program, we will print a rectangular box.  We will use nested loops in this code. Print Rectangular Boox - program in assembly language org 100h .data str db 0Ah,0Dh,"$" x db 5 .code Top: mov cx,5 l2: mov ah,2 mov...

Print Hollow Triangle – Assembly Language Code

org 100h ; add your code here .data space db " $" exspc dw 8 inspc dw -1 row db 8 line db 0dh,0ah,"$" .code body: mov cx,exspc ;printing external spaces outer_space: mov ah,2 mov dl,space int 21h loop outer_space mov ah,2 mov dl,'*' int 21h cmp row,8 je else: mov cx,inspc...

Print ABC in Diagonal – Assembly Language Code

; You may customize this and other start-up templates; ; The location of this template is c:emu8086inc_com_template.txt org 100h ; add your code here .data .code main proc mov ax,0b800h mov ds,ax mov cx,25 mov ,1441h mov bx, mov si,158 abc: mov ,bx add si,154 inc bl loop...

Print Generic Square Box -Assembly Code

; You may customize this and other start-up templates; ; The location of this template is c:emu8086inc_com_template.txt org 100h .data A db 0 B db 0 C db 0ah D db 0dh str1 db 'Enter square No $' str2 db...

Generic Hollow Square – Assembly Language Code

; You may customize this and other start-up templates; ; The location of this template is c:emu8086inc_com_template.txt org 100h .data A db 0 B db 0 C db 0ah D db 0dh str1 db 'Enter square No $' str2 db...

Print Diamond in Assembly Language [Using Sterics]

; You may customize this and other start-up templates; ; The location of this template is c:emu8086inc_com_template.txt org 100h .data n dw 5 ;number of lines of stars s dw 13 str dw 1 res dw 0 .code mov ax,n mov...

VGA- Scroll ABC in Horizontal Row – Assembly Language Code

VGA- Scroll ABC in Horizontal Row - Assembly Language Code org 100h .data pos dw 0 pos2 dw 3998 flag dw 0 var1 db 61h var2 db 61h .code xor ax,ax mov es,ax cli mov es:9*4,myisr mov es:9*4+2,cs sti mov ah,0 mov al,3 int 10h mov ax,0b800h mov es,ax mov ah,08h mov...