Hey guys!!
Today we will see the program of microprocessor 8086 to find and count the number of ones in a register or 16 bit number.
Let's go!!
data segment
number01 dw 4560h
counter db 00h
data ends
code segment
start :
assume cs:code, ds:data
mov dx,data
mov ds,dx
mov cx,10h
mov ax,number01
up:ror ax,1
jc dn
inc counter
dn: loop up
mov ah,04ch
int21h
code ends
end start
Programs:-
For many other Language Programs of microprocessor 8086, C++ , Data Structures and MSBTE diploma and engineering related concepts visit our BLOG
Block transfer OVERLAPPING
Block transfer(Simple Program)
Block Transfer(REVERSE ORDER)
Addition of 8-bit BCD8086 program
addition of 16-bit bcd program
Division of 32/16 bit program
Subtraction of 8-bit program
Subtraction of 8-bit BCD program
Subtraction of 16-bit program
Subtraction of 16-bit BCD program
String reverse 8086 program
block transfer using string
string concatenation
string length calculation
Block Transfer
Block reverse
Hex to ASCII program 8086
BCD to ASCII program 8086
ASCII to BCD program 8086
BCD to HEX
HEX to BCD
Block transfer(Simple Program)
Block Transfer(REVERSE ORDER)
Addition of 8-bit BCD8086 program
addition of 16-bit bcd program
Division of 32/16 bit program
Subtraction of 8-bit program
Subtraction of 8-bit BCD program
Subtraction of 16-bit program
Subtraction of 16-bit BCD program
String reverse 8086 program
block transfer using string
string concatenation
string length calculation
Block Transfer
Block reverse
Hex to ASCII program 8086
BCD to ASCII program 8086
ASCII to BCD program 8086
BCD to HEX
HEX to BCD
8086 Program to subtract two 16-bit BCD numbers MICROPROCESSOR 8086
8086 program to divide 8 bit hexadecimal number
8086 Program for Addition of two 8 bit Hexadecimal numbers microprocessor
8086 program to add two 8 bit BCD numbers
Assembly Language Program to DIVISION two 32-bit / 16 –bit numbers 8086 (signed and unsigned)
8086 program to divide 8 bit hexadecimal number
8086 Program for Addition of two 8 bit Hexadecimal numbers microprocessor
8086 program to add two 8 bit BCD numbers
Assembly Language Program to DIVISION two 32-bit / 16 –bit numbers 8086 (signed and unsigned)
No comments:
Post a Comment