mirror of
https://github.com/jackyzha0/quartz.git
synced 2025-12-26 06:14:06 -06:00
vault backup: 2022-07-26 13:28:13
This commit is contained in:
parent
4ca68c4c49
commit
e37cc8fda8
@ -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
|
- Load A with the value $0F
|
||||||
- this is like A = 0x0F
|
- this is like A = 0x0F
|
||||||
- `lda #$0F`
|
- `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
|
## 6502 Fibonacci in Machine Code
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user