6

I am requesting help with writing 32-bit assembly code for a simple "program tattoo.”</p>

I would like to get a tattoo. After thinking it over, I have decided that I would like a tattoo that uses assembly code and deals with my daughter, Alisha. My idea is come up with an "illogical computation," one that defies the laws of assembly language. I want to pay homage to how illogical having a child seems to someone like me... someone who is used to 1s and 0s.

I'm thinking of using x86-based 32-bit registers like EAX, EBX, and ECX and of course some pushes and pops.

The tattoo would NOT have the comments (nothing in parentheses), but would include the start: notation.

start:
    mov eax, 53656C66h   (ASCII for "Self")
    mov ebx, 57696665h   (ASCII for "Wife")
    add ebx, eax

    push ebx
    push 3F81DBh         (Decimal 4162011 = daughter's birth date)

    pop ecx              (The first pop would give my daughter's birth date)
    pop ecx              (the second pop would NOT give the answer of eax added to ebx,
                          but would rather give my daughter’s nickname)
    ??? ecx

My idea is to replace ??? with the instruction to read and then show that the value in ecx is now 416c69h (ASCII for "Ali," my daughter's nickname). I think this idea would be awesome, and I will post pictures of the tattoo if I get it (of course).

My idea is that the last pop would defy computer logic. In essence, having a child defies the "logic" that we know, so this was my attempt to parallel the beauty of birth.

Any other ideas?

4

1 回答 1

5

有点奇怪的是,这个程序真的什么都不做。为什么不编写代码,通过组合您的姓名、您妻子的姓名以及她的出生日期的某些编码等内容来生成您女儿的姓名?也许通过一系列XOR具有一些有意义值的指令?

于 2012-07-02T15:07:25.620 回答