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

Name 5 different addressing modes?

633


What is an interrupt service routine?

581


Explain transmission gate-based d-latch?

658


Explain the functions of the two dma signals hold and hlda?

679


What is tri-state logic?

687






Where can we find the sample assembly language programs?

603


Logic calculations are done in which type of registers?

907


Define microcontroller?

611


Explain sim and rim instructions?

712


Explain what is microcontroller?

614


What is a microprocessor?

640


what is the undefined bits in flag registers of 8085 microprocessor?

1658


How many logical drives is it possible to fit onto a physical disk?

583


What is stack pointer?

660


Explain an interrupt?

608