Timeline for Tips for golfing in x86/x64 machine code
Current License: CC BY-SA 3.0
5 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Mar 31, 2018 at 4:39 | comment | added | l4m2 | 2 for +2 & -2 in x86 | |
Mar 29, 2018 at 18:56 | comment | added | Peter Cordes |
Note that 32-bit mode has 1-byte inc/dec r32 with the register number encoded in the opcode. So inc ebx is 1 byte, but inc bl is 2. Still smaller than add bl, 1 of course, for registers other than al . Also note that inc /dec leave CF unmodified, but update the other flags.
|
|
Mar 29, 2018 at 18:41 | history | edited | qwr | CC BY-SA 3.0 |
added 4 characters in body
|
Jul 18, 2017 at 17:47 | history | edited | user230118 | CC BY-SA 3.0 |
Corrected grammar.
|
Jul 18, 2017 at 17:41 | history | answered | user230118 | CC BY-SA 3.0 |