Examlex

Solved

Which of the Following Macros Can Put a Micro Assembler

question 14

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


Definitions:

Physical Dependence

A physiological state in which the body adapts to the presence of a drug or substance, leading to withdrawal symptoms when that substance is reduced or ceased.

Psychological Dependence

A condition in which an individual feels a compelling emotional need for a substance or behavior, despite potential negative consequences.

Psychological Dependence

A compulsive need to experience a substance, activity, or behavior to achieve a desired emotional state, often associated with addiction.

Intense Emotional

Involves feelings that are deeply felt and can be overwhelming, influencing a person's behavior and thoughts intensely.

Related Questions