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
What is the maximum supported clock speed of the 8086?
What is the width of data bus?
These are two ways in which a microprocessor can come out of Halt state.
Explain what type of architecture is used in 8085 microprocessor?
What does a microprocessor mean? What all does a microprocessor comprise of?
After a pop instruction where does the stack pointer points?
What is program counter in 8085?
What is base segment address?
Explain the different modes of operations of the 8086?
What are the typical errors associated with using stack in a program?
The input/output signals are related to which pins?
What are the different type of registers used in 8085?
What is internal structure of 8086?
what differences can you state between the hlt and hold states?
Define psp?