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 / sridevi

Mr.Lakshman, I found some changes in your code. Hope this is OK.

org 00h
mov r0,#00
mov r1,#00
loop : acall func
inc r0
cjne r0,#09,loop
jmp pgmend

func: inc r1
ret

pgmend:
end

Is This Answer Correct ?    2 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Given a circuit, draw its exact timing response?

3647


write the assembly language programming to find the 2's complement for a string of 100 bytes

1072


What are the data pins of microprocessors? What is their use?

950


Explain two ways of converting a two input nand gate to an inverter?

1078


Why subroutine used in programs?

1101


Mention interrupts pins of 8085?

1109


Define the type of interrupts in the 8085 processor?

949


Define the process of an interrupt operation in the 8086?

925


What is the bit size of Itanium processor of Intel?

1026


What are set up time & hold time constraints?

1059


Describe the general purpose registers of 8085?

999


What is fetch and execute cycle?

1106


Mention the types of programmed data transfer?

1063


Define crossbar switching with reference to 8086?

951


How to control and timing circuitry of the 8085.

950