in this format ? "MOVL $37, -40(%ebp, %esi, 4)"
Im confused because in the instruction encoding "immediate" is put at the end. But in the instruction the immediate value 37 is not put at the end of the instruction.
Assembly languages and binary are rarely 1-to-1 reflections of one another. Look up your assembler's documentation for more on the specific flavour of assembly you use, instruction encoding is more relevant to implementers of assemblers or other compilers
Обсуждают сегодня