2 ms·
Fine. If you are really into getting the shortest instruction, try "xorl %eax,%eax" then "incl %eax" which is four bytes (31 c0 ff c0).
by kccqzy 9y ago
Fine. If you are really into getting the shortest instruction, try "xorl %eax,%eax" then "incl %eax" which is four bytes (31 c0 ff c0).
- gsg 9y agopush $1/pop %eax (6a 01 58) is shorter, but perhaps not the best idea.