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

What is the maximum supported clock speed of the 8086?

996


What is the width of data bus?

1056


These are two ways in which a microprocessor can come out of Halt state.

1116


Explain what type of architecture is used in 8085 microprocessor?

994


What does a microprocessor mean? What all does a microprocessor comprise of?

1081


After a pop instruction where does the stack pointer points?

1050


What is program counter in 8085?

1108


What is base segment address?

1099


Explain the different modes of operations of the 8086?

1010


What are the typical errors associated with using stack in a program?

1132


The input/output signals are related to which pins?

1058


What are the different type of registers used in 8085?

941


What is internal structure of 8086?

1024


what differences can you state between the hlt and hold states?

1277


Define psp?

1059