Write short answer: Which of the following macros can put a macro assembler…

PYQ GATE 1992

Write short answer:

Which of the following macros can put a macro assembler into an infinite loop?

.MACRO M1, X          .MACRO M2, X
.IF EQ, X              .IF EQ, X
M1 X+1                 M2 X
.ENDC                  .ENDC
.IF NE, X              .IF NE, X
.WORD X                .WORD X + 1
.ENDC                  .ENDC
.ENDM                  .ENDM

Give an example of a call that does so.

Sign up free to check your answer

Sign up free

Explore the full course: Compiler Design

Loading lesson…