Computer Architecture, Instruction Set, Intel, X86, Computer Science.
How should we go about selecting the suitable register out of them? Remember that we found out that addressing mode of ADD we are dealing with is ADD r/m32, r32. Therefore, the second operand must be of the type r32. The 32-bit register there is EBX. Now we know our opcode, operand 1 and operand 2.