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
Can 8259 be interfaced with 8085 via the trap pin?
What are the data pins of microprocessors?
What is a stack pointer register?
What does eu do?
Describe the general purpose registers of 8085?
Explain in steps what happens when an interrupt occurs?
Which register handles the arithmetic operations in the 8085?
What is the function of reset out signal.
Define microcontroller?
What are the index registers in 8086?
What are the software instructions related to stack operations?
What’s a microprocessor?
How clock signal is generated in 8086? What is the maximum internal clock frequency of 8086?
Explain with an example how parameters can be passed using registers.
what are the differences between isolated i/o and memory mapped i/o