From e37cc8fda802d3867be00adc42934382c2db2c98 Mon Sep 17 00:00:00 2001 From: Jet Hughes Date: Tue, 26 Jul 2022 13:28:13 +1200 Subject: [PATCH] vault backup: 2022-07-26 13:28:13 --- content/notes/05-6809-assembly.md | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/content/notes/05-6809-assembly.md b/content/notes/05-6809-assembly.md index 8cebd50da..23b8a03ed 100644 --- a/content/notes/05-6809-assembly.md +++ b/content/notes/05-6809-assembly.md @@ -118,6 +118,15 @@ The programmer's model of a computer is not the same as the hardware model. The - Load A with the value $0F - this is like A = 0x0F - `lda #$0F` + - Load A with the value stored at memory location $000F + - This is like: `A = memory[0x0F]` + - `lda $0F$` + - Transfer the value stored in B into A + - This is like `A = B` + - `tfr b,a` + +### Opcodes + ## 6502 Fibonacci in Machine Code