1111
submitted 5 months ago* (last edited 5 months ago) by sag@lemm.ee to c/programmerhumor@lemmy.ml
you are viewing a single comment's thread
view the rest of the comments
[-] davel@lemmy.ml 50 points 5 months ago

Assembly code is for writing C compilers, and C compilers are for writing Lisp interpreters.

[-] RestrictedAccount@lemmy.world 4 points 5 months ago

Back in High School in the 80’s me and a buddy wrote a Z-80 editor assembler in TRS-DOS BASIC.

It was not rocket science.

[-] davel@lemmy.ml 6 points 5 months ago* (last edited 5 months ago)

I never did get very far with the TRS-80 Editor Assembler, but that was my first exposure to such things.

I also remember the BASIC code for the Dancing Daemon which was replete with PEEKs and POKEs, such that much of it was written in machine code.

[-] RestrictedAccount@lemmy.world 2 points 1 week ago

Exactly how we did it too. We created the editor/assembler that peeked to see what was there and display it in Assembly, Hexadecimal, and ASCII.

You could edit whichever version you wanted and it would Poke it into RAM.

You could also save swaths to a file.

load more comments (1 replies)
load more comments (10 replies)
this post was submitted on 03 Aug 2024
1111 points (99.1% liked)

Programmer Humor

32796 readers
499 users here now

Post funny things about programming here! (Or just rant about your favourite programming language.)

Rules:

founded 5 years ago
MODERATORS