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
What are software interrupts?
Explain the differences between the nmi and intr
Define bit, byte and word.
What are the types of interrupts from type 0 to 4
Explain the functions of ale in 8085?
Comment the size of stack?
What is the structure of psp?
Explain the purpose of the status register?
What is the difference between isr & function call?
Explain the instruction stream queue mechanism in the 8086?
List various types of interrupts available in 8051 microcontroller?
Explain the software instruction ei and di?
Write the special functions carried by the general purpose registers of 8086?
What are the data pins of microprocessors?
What is a microprocessor?