Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
userbinator
· 2y ago · 0 comments
My instinct says "push 42 ; pop edi ; mov al, 60 ; syscall" instead, which makes use of the "push imm8 ; pop reg" trick to likewise avoid imm32s.
Comments
[–]
devit
2y ago
That's the same length. There is also "mov dil, 42".