%edx has a value of 0x3, and %eax has a value of 0x100.
Then we have the instruction: subl %edx, %eax
What's the result value of %eax?
You have
movl $3, %edx
movl $0x100, %eax
as input values. The instruction
subl %edx, %eax
just subtracts 3(dec) in EDX from 100(hex) in EAX resulting in 100h-3h=0FDh.
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