Assembly ATT Syntax Question 2 A addl eax ebx ecx B addl 0x1
Assembly (AT&T Syntax) Question 2:
A. addl %eax, %ebx, %ecx
B. addl 0x13(,%edi,4), %esi
C. addl (%esp), (%edx)
D. addl %eax, $4
Select which choice corresponds to ALL the invalid instructions?
- A, B and D
- A only
- A, B and C
- A, C and D
- A, B, C and D
Solution
invalid instructions :
addl %eax, %ebx, %ecx
addl (%esp), (%edx)
addl %eax, $4
Option 4 is correct choice.
