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
In case of DVD, the speed is referred in terms of n X. Here what does X refers to
Tell the addresses which are bit addressable?
What is program counter in 8085?
What are set up time & hold time constraints?
What is the software interrupts of 8085?
What is function of ale in 8085 microprocessor?
Which is non maskable interrupt for 8085?
Define the functions of the dx register.
Explain about the classification of instruction operations
what are the differences between isolated i/o and memory mapped i/o
Which register handles the arithmetic operations in the 8085?
Explain the differences between the nmi and intr
Which type of JMP instruction assembles if the distance is 0020h bytes
What is meant by priority of interrupt?
What is the difference between maskable interrupts and non-maskable interrupts?