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 the differences between the nmi and intr

1173


Design a transmission gate based xor.

1060


rtos kernal have memory managament,sheduler and timer but not haveing file system how vxworks allocate file table process in memory? bud gpos have inside kernal

3133


Mention interrupts pins of 8085?

1148


Which is the stack used in 8085?

1077


Tell the addresses which are bit addressable?

1197


What are the different types of memory addressing modes?

1015


Explain the internal architecture of the 8086 microprocessor?

1120


What are software interrupts?

1029


List out addressing modes in mcs-51?

1117


What is processor cycle (machine cycle)?

1059


What is special purpose registers in 8086?

1152


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

1084


Write a program that will store the contents of an accumulator and flag register at locations 2000h and 2001h.

891


Give here your suggestion about microprocessor 8085 and 8086. These 2 processors used in old time. I want to know its program execution time, memory space?

950