INTRODUCTION TO COMPUTERS
COMPUTER ARCHITECTURE AND ORGANIZATION
Question
[CLICK ON ANY CHOICE TO KNOW THE RIGHT ANSWER]
|
Which of the following assembly code has error?I. ADD R2, R2, #-24II. BRnzp #27III. LD R2, NUMBERIV. HALT x23
|
I and II
|
|
II and III
|
|
I, II and IV
|
|
I, II, III and IV
|
Explanation:
Detailed explanation-1: -The “r” in the operand constraint string indicates that the operand must be located in a register. The “=” indicates that the operand is written. Each output operand must have “=” in its constraint.
There is 1 question to complete.