From 3c59b457f29d24cf4f41a8888ec6008cbd7548f0 Mon Sep 17 00:00:00 2001 From: Jet Hughes Date: Tue, 26 Jul 2022 13:38:14 +1200 Subject: [PATCH] vault backup: 2022-07-26 13:38:14 --- content/notes/05-6809-assembly.md | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/content/notes/05-6809-assembly.md b/content/notes/05-6809-assembly.md index 23b8a03ed..9f60c6794 100644 --- a/content/notes/05-6809-assembly.md +++ b/content/notes/05-6809-assembly.md @@ -126,6 +126,19 @@ The programmer's model of a computer is not the same as the hardware model. The - `tfr b,a` ### Opcodes +- lda / ldx / ldy + - load a value into the given register +- sta / stx / sty + - store the value of the register back into memory +- tfr + - transfer from one register to another. (tfr b,a) + +the hard part is the missing instructions +- 6809 has no `div` or `sqrt` + +![opcode table](https://i.imgur.com/VUGYHPi.png) + +### Functional Groups ## 6502 Fibonacci in Machine Code