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
Differentiate between div and idiv instructions with the help of examples.
How many instruction bits does 8085 processor support?
List some 8051 microcontroller applications in embedded systems ?
Explain the two types of software?
Define bit?
Explain what type of architecture is used in 8085 microprocessor?
Define the types of memory used in 8085 microprocessor?
Which interrupt in the 8086 has the highest priority?
State the order of interrupts priority wise (lower to higher)?
Define macros with the help of an example.
Describe the (status) flag register of 8085?
What are the widths of data bus (db) and address bus (ab) of 8085?
Why subroutine used in programs?
Explain the flag register in the 8085 microprocessor?
Explain the different modes of operations of the 8086?