15 votes

x86 assembler in Bash

11 comments

  1. gpl
    Link
    I don't know what compelled me to do this, but I googled the author after wondering "where are they now", and I found this. Apparently this guy tried to sue the US to compel the secret service to...

    I don't know what compelled me to do this, but I googled the author after wondering "where are they now", and I found this. Apparently this guy tried to sue the US to compel the secret service to arrest George W and Dick Cheney for war crimes. My kinda guy!

    12 votes
  2. chundissimo
    Link
    Each subsequent BASH post gets funnier and funnier to me. I always think “maybe some else thought something in BASH was interesting this time”. Nope, it’s always @hungariantoast. You know a...

    Each subsequent BASH post gets funnier and funnier to me. I always think “maybe some else thought something in BASH was interesting this time”. Nope, it’s always @hungariantoast.

    You know a program is an abomination when it’s explaining text starts with:

    Why, Rick? WHY???

    6 votes
  3. [3]
    hungariantoast
    Link
    Why does it hurt when I pee edition
    5 votes
    1. AndreasChris
      Link Parent
      Why do you post a link link to your previous post with some random sentence under each new post of yours?

      Why do you post a link link to your previous post with some random sentence under each new post of yours?

  4. [6]
    json
    Link
    Am I reading it right that this provides the necessary bash functions and other setup such that some x86 asm text can be executed as bash?

    Am I reading it right that this provides the necessary bash functions and other setup such that some x86 asm text can be executed as bash?

    2 votes
    1. [4]
      Crestwave
      Link Parent
      From my understanding, this converts x86 asm into an executable file, similar to regular assemblers like yasm except it's written in Bash.

      From my understanding, this converts x86 asm into an executable file, similar to regular assemblers like yasm except it's written in Bash.

      4 votes
      1. [3]
        json
        Link Parent
        Oh. That's far too normal.

        Oh. That's far too normal.

        5 votes
        1. [2]
          tauon
          Link Parent
          Be the change you wanna see in the world.

          Be the change you wanna see in the world.

          1 vote
          1. json
            Link Parent
            I'm not sure the adhd would let me get that far.

            I'm not sure the adhd would let me get that far.

            3 votes
    2. json
      Link Parent
      I can elaborate on why I misread in this way: About a week ago came across Dick, an esoteric language, and got sniped into making an interpreter for it in (zsh) shell script. Well, at that point...

      I can elaborate on why I misread in this way: About a week ago came across Dick, an esoteric language, and got sniped into making an interpreter for it in (zsh) shell script.
      Well, at that point it was just rubber-duck with ChatGPT to think about how to do that.

      Only today did I build out the interpreter script and a few sample programs.
      https://github.com/master5o1/dick-sh

      1 vote