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...
Advantages and uses of assembly language

Advantages And Uses Of Assembly Language

Why should anyone learn assembly language? especially when you have high-level programming languages like Python and java..? Do you have the same question? Well, If yes... you have come to a very place...
Emu8086

Setting up Assembly IDE

The most commonly used compiler for Assembly language is Emu8086 which can be downloaded from here. Screenshots

Print Mountain [Steric] – Assembly Language Code

org 100h .data str db 0Ah,0Dh,"$" x dw 1 y dw 7 .code Top1: mov cx,x Top2: mov ah,2 mov dl,'x' int 21h loop Top2 mov ah,9 lea dx,str int 21h inc x cmp x,7 jne top1 Top3: mov cx,y Top4: mov ah,2 mov dl,'x' int 21h loop Top4 mov ah,9 lea dx,str int 21h dec y cmp y,0 jne top3 ret   OutPut Screen:   Find...
Computer Registers

What is Computer Register? – Types and Functions Explained

In Computer Structure there are 3 parts: CPU (Central Processing Unit) Main Memory Input/Output When you get into the depth of CPU, there are three same parts too... Registers Control Unit Arithmetic and...

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 0 str1 db 'Enter odd Diamond $' str2 db '*' spaces db ' ' .code ;Enter odd Diamond No lea dx,str1 mov ah,9 int...

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 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 Sterik Moving Horizontally – 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,79 mov si,1920 mov ,142Ah mov bx, row: mov ,bx mov ,' ' inc...

Assembly Language Programming Tutorials + Codes

Assembly Programming Language Assembly is a low-level programming language that can be used to directly tell the computer what to do. An assembly language is almost exactly like the machine code that a computer can...