Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

write an assembly code which can call function in a loop
with al value from 0 to 9

Answer Posted / laxman

org 00h
mov r0,#09
mov r1,#01
loop : acall func; ; calling function in loop 9-0 times
djnz r0,loop


func : inc r1 ; output will be in r1 register
ret

end


if any thing plz mail to me laxman_balu@hotmail.com

Is This Answer Correct ?    8 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

In case of DVD, the speed is referred in terms of n X. Here what does X refers to

1023


Tell the addresses which are bit addressable?

1128


What is program counter in 8085?

1034


What are set up time & hold time constraints?

1061


What is the software interrupts of 8085?

1061


What is function of ale in 8085 microprocessor?

1004


Which is non maskable interrupt for 8085?

1014


Define the functions of the dx register.

934


Explain about the classification of instruction operations

1022


what are the differences between isolated i/o and memory mapped i/o

990


Which register handles the arithmetic operations in the 8085?

933


Explain the differences between the nmi and intr

1113


Which type of JMP instruction assembles if the distance is 0020h bytes

1331


What is meant by priority of interrupt?

1049


What is the difference between maskable interrupts and non-maskable interrupts?

941