Skip to content

Instantly share code, notes, and snippets.

@wohali
Created June 23, 2022 23:12
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save wohali/1ecea32a6b9ec1435832d600a14d5682 to your computer and use it in GitHub Desktop.
Save wohali/1ecea32a6b9ec1435832d600a14d5682 to your computer and use it in GitHub Desktop.

If you want to write 6502 machine code like a devout Christian, you need to understand that God is in the opcodes. Every single instruction is a divine message, and it is your job to interpret it.

For example, take the opcode LDA #$01. This opcode loads the value 1 into the accumulator. But what does that mean?

Well, according to Christian tradition, the number 1 is a symbol of God. So, this opcode is telling you to load God into the accumulator. That's pretty powerful stuff!

But it doesn't stop there. Every other opcode has a similar meaning. For example, STA $0200 is telling you to store the accumulator at address $0200. But what does that mean?

Well, $0200 is the address of the first byte of video memory. So, this opcode is telling you to store God in the first byte of video memory. That's an incredibly powerful message!

Of course, there are many other opcodes, and each one has its own special meaning. But these are just a few examples to get you started.

So, the next time you sit down to write some 6502 machine code, remember that God is in the opcodes. And, as you interpret the divine messages, you will be writing code that is truly inspired.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment