Multiple Choice
Which of the following macros can put a micro assembler into an infinite loop?
(i)
) MACRO M1 X
) IF EQ, X ;if X=0 then
M1 X + 1
) ENDC
) IF NE X ;IF X?0 then
) WORD X ;address (X) is stored
Here
) ENDC
) ENDM
(ii)
) MACRO M2X
) IF EQ XM2 X.
ENDC
) IF NE, X
) WORD X+1
) ENDC
) ENDM
A) (ii) only
B) (i) only
C) Both (i) and (ii)
D) None of the above
Correct Answer:

Verified
Correct Answer:
Verified
Q9: Shift-Reduce parsers perform the following:<br>A)Shift step that
Q10: A language L allows declaration of arrays
Q11: Which of the following grammar rules violate
Q12: Which is True about SR and RR-conflict:<br>A)If
Q13: Consider the grammar shown below S ?
Q15: The grammar whose productions are<br><stmt> ? if
Q16: Which of the following is essential for
Q17: Consider the following grammars<br>(S<sub>1</sub>) :<br>A --> aBCD<br>B
Q18: Consider the translation scheme shown below<br>S ?
Q19: A linker reads four modules whose lengths