Bill Gates puzzle

[[ re-posted from the DesktopLinuxAsm mailing list ]]
http://groups.yahoo.com/group/DesktopLinuxAsm/


<< Here is a puzzle for assembler guru's and anyone
who needs a diversion.

Bill Gates has spent the last year working on a virus to
destroy Linux. To complete his virus he needs the constant
of -4 in eax. His virus hides in the ELF header and at this
point he only has 2 bytes of program space left. All his
general registers are zero at this point.

How does Bill generate -4 in two bytes of code?

Warning, Bill Gates is devious, cunning, and so is the
solution. If anyone can solve this they will suffer exposue
on DesktopLinuxAsm web page and envy from everyone
who claimed it could not be done.

all the best, jeff >>

Nathan.
http://del.icio.us/Evenbit
----


ASSEMBLY LANGUAGE information, tools, forums, and other links available at:
http://www.faqs.org/faqs/by-newsgroup/comp/comp.lang.asm.x86.html

Comments

  • Sounds like a challenge :D

    Just one question: does Bill Gates know the value of EAX before these last two bytes?

    Best Regards,
    Richard

    The way I see it... Well, it's all pretty blurry
  • : Just one question: does Bill Gates know the value of EAX before
    : these last two bytes?
    :
    [color=Blue]All registers are zero.[/color]
  • : : Just one question: does Bill Gates know the value of EAX before
    : : these last two bytes?
    : :
    : [color=Blue]All registers are zero.[/color]

    Woops... Read over that one ;) Thx

    Still trying to come up with a devious way. I'll try again tonight.

    Best Regards,
    Richard

    The way I see it... Well, it's all pretty blurry
Sign In or Register to comment.

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Categories