Handle a function returning bool, char or short
x86-64 psABI says that only the least significant 8 bits are significant if RAX has a return value of a function returning bool. Likewise, it looks like only the least significant 1 or 2 bytes are guaranteed to have a correct value for char and short return values, respectively.
parent
0d37304b
Please register or sign in to comment