Question: 7. Assume the following mRepeat macro has been defined: mRepeat MACRO char,count LOCAL L1 mov cx,count L1: mov ah,2 mov dl,char int 21h loop L1

7. Assume the following mRepeat macro has been defined:

mRepeat MACRO char,count LOCAL L1 mov cx,count L1: mov ah,2 mov dl,char int 21h loop L1 ENDM Write the code generated by the preprocessor when the mRepeat macro is expanded by each of the following statements

(a,

b, and c):

mRepeat 'X',50 ; a mRepeat AL,20 ; b mRepeat byteVal,countVal ; c

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Implementing Programming Languages Questions!