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
Explain about interrupt driven mode of data transfer
What is segment address in 8086?
What does the parity flag do?
What is 8051 microcontroller ?
Can you name the different types of processor?
What are the flags used in 8086?
What is a stack pointer register?
How many interrupts are there in 8085?
What are the Interrupts available in 8051 microcontroller?
What are wait states in microprocessors?
Explain memory mapped i/o and i/o mapped i/o schemes?
After the following has been executed MOV BL, 8C MOV AL, 7E ADD AL, BL; what will be the contents of register AL?
What is the function of eu?
What are the flags in 8086?
Design a divide-by-3 sequential circuit with 50% duty circle now?