Understanding intel SUB instruction
问题 I am currently trying to deepen my understanding of assembly code and I am stuck since weeks with a seemingly simple instruction : sub al, BYTE PTR [ebp+4] Assuming eax = 0x11223300 and BYTE PTR [ebp+4] = 0xaa what is the value of eax after the above instruction ? From what I understand, al can only affect the last byte in eax ( 0x00 in this case) so the program tries to compute 0x00 - 0xaa . But the result being negative, I don't get if the result would simply be 0x00 or if numbers are