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
How many i/o ports are present in the 8086?
Define the jobs performed by the biu and eu in the 8086.
What does the eu do in the 8086?
Can 8259 be interfaced with 8085 via the trap pin?
What are the different types of instructions responsible for data transfer instructions.
Differentiate between div and idiv instructions with the help of examples.
If a1M1× DRAM requires 4 ms for a refresh and has 256 rows to be refreshed, no more than __________ of time must pass before another row is refreshed.
What is an interrupt service routine?
What does the parity flag do?
Please give a circuit to divide frequency of clock cycle by two?
Device density on a microprocessor/chip?
Write the special functions carried by the general purpose registers of 8086?
Describe the general purpose registers of 8085?
What are the flags used in 8086?
Which 2 ports combine to form the 16 bit address for external memory access?