Skip to content
DevMeme
4838 of 7590
LowLevelProgramming Post #5298 · source on Telegram

The Keyboard Interrupt Says E

Description

A four-panel hand-drawn bird comic shows a gray bird on a branch speaking in assembly-like instructions. The first panel says "mov rax, rbx," the second says "add rax, rcx," a yellow bubble in the second panel says "HELLO IT'S ME THE KEYBOARD," a black bird in the third panel says "I HAVE AN IMPORTANT MESSAGE," and the final close-up panel contains only the large letter "E." A small "t.me/dev_meme" watermark appears near the bottom-left, and the comic is signed at the bottom-right. The technical humor comes from mixing x86-64 register operations with the absurdly simple payload of keyboard input, reducing hardware interaction to a dramatic delivery of one character.

Comments

30
Anonymous ★ Top Pick After all that register choreography, the interrupt handler still just wants to hand you an `E`.
  1. Anonymous ★ Top Pick

    After all that register choreography, the interrupt handler still just wants to hand you an `E`.

  2. @mxkrsv 3y

    But USB is a polled bus, isn't it?

    1. @Anfid 3y

      It is

      1. @mxkrsv 3y

        So the meme is true only for PS/2 keyboards?

        1. @Anfid 3y

          And mice, yeah. I don’t remember any other older/less popular ports with hardware interruptions, but they probably exist

          1. @FallenChromium 3y

            I2C, but that's an internal one mostly used in laptops

        2. @ygerlach 3y

          yes, and only if you cpu is like 2 decades old.

        3. @RiedleroD 3y

          and integrated keyboards, since they don't have to adhere to any connector standard (though they often do just use the usb keyboard standard, so there's that)

        4. @ZgGPuo8dZef58K6hxxGVj3Z2 3y

          Yes

        5. dev_meme 3y

          y

          1. @endisn16h 3y

            /

          2. @RiedleroD 3y

            z

            1. @RiedleroD 3y

              (wrong keyboard layout)

              1. dev_meme 3y

                ???

                1. @RiedleroD 3y

                  the joke is that the English and German keyboard layouts have y and z swapped for some reason

                  1. @RiedleroD 3y

                    qwerty vs qwertz

                  2. @azizhakberdiev 3y

                    should I use ctrl+y to undo then?

                    1. @RiedleroD 3y

                      no, Strg+Z

                      1. @affirvega 3y

                        Steal register + Z?

                        1. @RiedleroD 3y

                          steuerung + Z

                          1. @affirvega 3y

                            управление + я

                            1. @RiedleroD 3y

                              damn this guy can type R backwards

                              1. @affirvega 3y

                                I can do small 3 з

                                1. @RiedleroD 3y

                                  holy shit

    2. @ZgGPuo8dZef58K6hxxGVj3Z2 3y

      Yes

  3. @ahmubashshir 3y

    usb vs ps/2

  4. @ygerlach 3y

    also pulling with usb is still faster than interrupt based ps/2 because the transmission of data in ps/2 is way slower than the usual polling rate used for usb devices.

  5. @RiedleroD 3y

    I love how long the explanation is lol

  6. @SamsonovAnton 3y

    And then comes the x86 System Management Mode which just grabs the CPU at any time without the OS knowing about it. 😈

  7. @spiritualattunement 3y

    hardware meme at its finest

Use J and K for navigation