Saturday, June 20, 2020

8086 Assembly Program find number of odd and even numbers in an Array

For many other Assembly Language  Programs related to microprocessor 8086 , C++ , C, DataStructures visit our  BLOG 

data segment
blk1 db  10h,40h,30h,60h
e db ?h
o db ?h
data ends
code segment
strat: asseume code:cs, ds:data
mov ax,data
mov ds,ax
lea si,blk1
mov bl , 0h
mov bh, 0h
mov cl , 04h
up: mov al,[si]
ror al , 1
jc go
inc bl
jmp next
go: inc bh
next: inc si
  dec cl
   jnz up
   mov e,bl
   mov o,bh
int 3
code ends
end start

block transfer using string
string compare
sum of SERIES BCD numbers
Block reverse

Programs:-

For many other Assembly Language  Programs related to microprocessor 8086 , C++ , C, DataStructures visit our  BLOG 

There are programs of largest ,smallest ,division ,multiplication,odd/even,block operation ,string operations,BCD ,etc

No comments:

Post a Comment