• Creating Assemblers

    From Johann 'Myrkraverk' Oskarsson@21:1/5 to All on Wed Mar 1 22:42:26 2023
    Dear c.o.m.p,

    Some time ago, I recall mentioning the book Assemblers and Loaders
    (1993) by Salomon, somewhere on Usenet where /that public domain OS guy/
    hangs out, which should be here too. The book is good, not /great/, but
    still decent.

    I was only just going through it myself, and I learned most from doing
    the project(s). I have mostly only done project 1-1, but reading the descriptions, and from my other experience, I know that extending the
    projects isn't exactly hard, and I'll probably do that when I have an
    assembler for a real system in my hands.

    I did project 1-1 in Lua, which should trivially work on DOS.

    The book has some failures, such as not [as far as I'm in it] discussing
    how to handle opcodes that change according to context, such as the
    infamous Intel MOV instruction. But for an introductory course, or a
    start for someone [me] it's not too bad.

    Anyway, that's my two cents,
    Johann | email: invalid -> com | www.myrkraverk.com/blog/
    I'm not from the Internet, I just work there. | twitter: @myrkraverk

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)