Saturday, April 20, 2019

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...

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.txtorg 100h.data A db 0 B db 0 C db 0ah D db 0dhstr1 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.txtorg 100h.datan dw 5 ;number of lines of starss dw 13 str dw 1 res dw 0.code mov ax,n mov...