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 []

4 Comments

  1. B

    Wieso Hexerei? Ich nenn das klare Kante.
    Glückauf!
    Dein Münte.

  2. r

    Daß ich diesen guten alten nibble=>HexChar-Hack nochmal wiedersehe :) einer aus der Standardmacrosammlung…

    Solche Magie kann ruhig öfter mal kommen, kein Problem, keine Angst.

Leave a Reply

All inputs are optional. The e-mail address won't be published nor shared.

  • Moderation: Comments from first-time commentators must be approved manually before they appear.
  • Behave yourself! No insults, no illegal content, etc.! Should go without saying, don't you agree...?
  • Website: I don't mind blogs with ads, but purely commercial links are not welcome and will be deleted. Just like pure spam comments.
  • Allowed HTML tags: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong> <sub> <sup> <big> <small> <u>