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

Explain about interrupt driven mode of data transfer

1016


What is segment address in 8086?

1006


What does the parity flag do?

1085


What is 8051 microcontroller ?

1150


Can you name the different types of processor?

1160


What are the flags used in 8086?

1013


What is a stack pointer register?

997


How many interrupts are there in 8085?

1088


What are the Interrupts available in 8051 microcontroller?

1032


What are wait states in microprocessors?

1147


Explain memory mapped i/o and i/o mapped i/o schemes?

1340


After the following has been executed MOV BL, 8C MOV AL, 7E ADD AL, BL; what will be the contents of register AL?

2336


What is the function of eu?

1110


What are the flags in 8086?

1101


Design a divide-by-3 sequential circuit with 50% duty circle now?

1042