Thread: x86 register question
in x86 know can access eax, ex (and on 64-bit rax), int/long, short (and long long) types. don't why gcc uses eax when use short? know result same once mov puts it's final location, won't overflow flag off?
ax low (?) half of eax. it's adjustment gcc makes simplicity , efficiency of code.
think overflow bit should set when mathematical operation causes overflow -- couldn't swear though.
Forum The Ubuntu Forum Community Ubuntu Specialised Support Development & Programming Programming Talk [SOLVED] x86 register question
Ubuntu
Comments
Post a Comment