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

How many i/o ports are present in the 8086?

1104


Define the jobs performed by the biu and eu in the 8086.

1255


What does the eu do in the 8086?

1074


Can 8259 be interfaced with 8085 via the trap pin?

1007


What are the different types of instructions responsible for data transfer instructions.

985


Differentiate between div and idiv instructions with the help of examples.

2643


If a1M1× DRAM requires 4 ms for a refresh and has 256 rows to be refreshed, no more than __________ of time must pass before another row is refreshed.

1334


What is an interrupt service routine?

1053


What does the parity flag do?

1090


Please give a circuit to divide frequency of clock cycle by two?

1039


Device density on a microprocessor/chip?

1127


Write the special functions carried by the general purpose registers of 8086?

1013


Describe the general purpose registers of 8085?

1045


What are the flags used in 8086?

1019


Which 2 ports combine to form the 16 bit address for external memory access?

1242