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
Which are the different data transfer schemes?
What does quality factor mean?
How to control and timing circuitry of the 8085.
What number of the times the instruction sequence below will loop before coming out of loop is MOV AL, 00hA1: INC AL JNZ A1
List the various registers of 8085?
What is the difference between harvard architecture and von neumann architecture?
How many bits microprocessor was first developed?
What is the purpose of Program Counter in a Micro - Processor?
What happens when the intr signal goes high in the 8085?
What is the difference between 8085 microprocessor and a 8086 microprocessor?
Define the jobs performed by the biu and eu in the 8086.
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.
Give example for non-maskable interrupts?
Classify interrupts on the basis of signals.
Define the types of bus used in the 8085?