3 ms·
and if we wanted to have some fun, we could lower that number by quite a bit still The most "immediately" (pun intended) obvious size optimisation would be to
by userbinator 11y ago
and if we wanted to have some fun, we could lower that number by quite a bit still
The most "immediately" (pun intended) obvious size optimisation would be to do this:
push 1
pop eax
mov edi, eax
...
push .msglen
pop edx
...
push 60
pop eax
...which should save 9 bytes. Note that 174 bytes is still a far ways off from the equivalent under DOS, which would be...
95 BA 07 01 CD 21 C3 47 72 65 65 74 69 6E 67 73
2C 20 48 61 63 6B 65 72 4E 65 77 73 21 0D 0A 24
...these 32 bytes, 25 of which is the message itself.