Thursday, September 19, 2019

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

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

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.txt org 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 0 str1 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.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...

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

Hollow Triangle Code in Assembly Language

org 100h .data n dw 15 nl db 0ah, 0dh, 024h .code mov cx, n sub cx, 1 mov ah, 2 l1: mov dl, ' ' int 21h loop l1 mov dl, '*' int 21h mov ah, 9 lea dx, nl int 21h mov di, 1 mov bx, 1 xor...
Memory Segment and oFFset

What Is Physical Address And How To Calculate It

Physical Address: The physical address is an address in a computer that is represented in binary numbers. It belongs to a specific block of memory. How to calculate Physical Address: Logical Address = Segment :...