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
Get step-by-step solutions from verified subject matter experts
