write an assembly code which can call function in a loop
with al value from 0 to 9

Answer Posted / dinesh kumar.r

MVI B,00
MVI C,OA
LOOP:
INR B
DCR C
SUB C
JNZ LOOP
HLT

Is This Answer Correct ?    2 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What the sp register does in a program?

787


What is sim and rim instructions?

857


What is baud rate?

784


Does alu have any storage facility?

872


Explain the differences between the nmi and intr

880


Which interrupt has highest priority in microcontroller ?

916


Explain about the classification of instruction operations

805


Define the 8085 instruction format and their classification according to word size?

813


List out the features of 8051 microcontroller?

938


What is an interrupt service routine in microcontroller?

774


What are the different types of assemblers used?

825


How many bit address bus does the 8085 use?

805


On a scale of one to ten, rate me as an interviewer now 26 which stack is used in 8086?

739


What does the out instruction do, define its format?

760


The interrupt response time is determined by?

795