I'm pretty avanced with assembler, but I don't know this, an I really can't find anything about this:
cmp #0x2f44, 0x0(r15)
what does 0x0(r15)
mean?
Thank you in advance!
The least significant byte of AX can be used as a single 8-bit register called AL, while the most significant byte of AX can be used as a single 8-bit register called AH. These names refer to the same physical register. When a two-byte quantity is placed into DX, the update affects the value of DH, DL, and EDX.
AX is the primary accumulator; it is used in input/output and most arithmetic instructions. For example, in multiplication operation, one operand is stored in EAX or AX or AL register according to the size of the operand.
This is a relative addressing which means that offset 0x0
from value in r15
register.
Suppose you have a instruction movq 8(%r15), %rax
which means that move the value stored at address contained in r15
+ offset 8
into register rax
.
A negative no will show negative offset.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With