Tag Archives:

assembler

Links and Videos of the Week (2009/30)

Hexed?

…or: The assembler code snippet of the week1

    add al,90h
    daa
    adc al,40h
    daa

Can anyone tell me without cheating what this code does? :bigsmile:

Show solution ▼

  1. don’t worry, that won’t become a regular feature []

Assembly is…

:kissm: What can be done with the Linux shell can also be done with x86 Assembly language – maybe a little less safe ;) but with direct access^^ (note that “BH” is German for “bra”):

        enter 0xCafe,0xC
        not [0xbadFace]
        monitor
        lahf
   lock leave
        sysenter
        push bh
        test ah,0xDD
        pop bh
   lock enter 0xBed,2
        into
        call si
    rep mov ah,0h
        aaa
        leave
        sysexit
times 9 mwait
        call 0xDad

Even when reading several times (hint!), even with the help that pops up when hovering over the dashed underlined items – probably no-one except me will understand that. But, well, I don’t care…. :mrgreen: