79578575

Date: 2025-04-17 06:10:17
Score: 2
Natty:
Report link

Less important to the question is that it appears that your example was loading %edi instead of %eax .
000000000 8B 04 25 A60D4000 mov 0x400da6,%eax
000000007 8B 3C 25 A60D4000 mov 0x400da6,%edi
00000000e 90 nop
Unless you are loading from an absolute address with position independent code, rip-relative addressing will save you a byte.
000000038 8B 05 680D4000 mov 0x400da6(%rip),%eax

Reasons:
  • No code block (0.5):
  • Filler text (0.5): 000000000
  • Filler text (0): 00000000
  • Filler text (0): 00000000
  • Low reputation (1):
Posted by: Alan Larson