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

Answer Posted / pk

xor ax, ax
loop1:
call foo
inc al
cmp ax, 10
jb loop1

Is This Answer Correct ?    3 Yes 4 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Give example of bit address and byte address?

577


Classify interrupts on the basis of signals. State their differences.

663


Explain data types used in microcontroller programming,

601


What does 8088 microprocessor have?

638


What jobs alu of 8085 can perform?

825






What is meant by priority of interrupt?

610


Tell me how do you detect if two 8-bit signals are same?

700


Why do you use two ground pins in microprocessor 8086?

620


What is the significance of the hold and hlda pins?

589


Describe the jae instruction with the help of an example?

575


What is meant by cross-compiler?

630


Define bit, byte and word.

767


Signal voltage ranges for a logic high and for a logic low in RS-232C standard are

672


Explain what is sim and rim instructions?

665


What is the purpose of pipe lining in reference to 8086?

595