Saturday, April 20, 2019

VGA – Scroll Name in Middle (Up & Downward) – Assembly Language Code

VGA - Scroll Name in Middle (Up & Downward) - Assembly Language Codeorg 100h.datastr1 db "Khunshan$" str2 db "Butt$"l1 db ($-str1) l2 db ($-str2)cor1 dw 1986 cor2 dw 2000.code mov ax,0b800h mov es,axtop:cld lea si,str1 mov bh,06 mov dx,cor1 mov...

VGA- Scroll ABC in Horizontal Row – Assembly Language Code

VGA- Scroll ABC in Horizontal Row - Assembly Language Codeorg 100h.data pos dw 0 pos2 dw 3998 flag dw 0 var1 db 61h var2 db 61h.codexor 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 10hmov ax,0b800h mov es,ax mov ah,08h mov...

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.txtorg 100h; add your code here .data.codemain proc mov ax ,0b800h mov ds, axmov cx,25 mov si,80 column: mov ,1430hadd si,160loop columnret main...

Print Mountain [Steric] – Assembly Language Code

org 100h.data str db 0Ah,0Dh,"$" x dw 1 y dw 7.code Top1: mov cx,xTop2: mov ah,2 mov dl,'x' int 21h loop Top2mov ah,9 lea dx,str int 21hinc x cmp x,7 jne top1Top3: mov cx,yTop4: mov ah,2 mov dl,'x' int 21h loop Top4mov ah,9 lea dx,str int 21hdec y cmp y,0 jne top3ret  OutPut Screen: Find...

Print Sterik Moving Horizontally – Assembly Code

; You may customize this and other start-up templates; ; The location of this template is c:emu8086inc_com_template.txtorg 100h; add your code here.data.codemain procmov ax,0b800h mov ds,axmov cx,79 mov si,1920 mov ,142Ah mov bx, row:mov ,bx mov ,' 'inc...

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,"$" .codebody: mov cx,exspc ;printing external spaces outer_space: mov ah,2 mov dl,space int 21h loop outer_spacemov ah,2 mov dl,'*' int 21hcmp row,8 je else: mov cx,inspc...

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.txtorg 100h.data A db 0 B db 0 C db 0ah D...

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.txtorg 100h.data A db 0 B db 0 C db 0ah D db 0dhstr1 db 'Enter square No $' str2 db...

Generic Hollow Rectangular Box – Assembly Language Code

; You may customize this and other start-up templates; ; The location of this template is c:emu8086inc_com_template.txtorg 100h.data A db 0 B db 0 L db ? W db ? C db 0ah D db 0dh str0 db 'Donot...

Print Generic Diamond – Assembly Language Code

org 100h.data A db 0 B db 0 C db 0ah D db 0dh countstr db 0 str db 1 space db 0str1 db 'Enter odd Diamond $' str2 db '*' spaces db ' '.code ;Enter odd Diamond No lea dx,str1 mov ah,9 int...