lecture3.pptx

Memory Address Space

We can directly memory map peripherals into the address space (e.g. a mouse).

Ex: LD r0 0xFFFE

(if the mouse is at the bus on 0xFFFE).

What’s included in an ISA?

Example: 6502 8-bit CPU

Popular in 80’s. Variable length instructions 1-3 bytes. 1 byte opcode. 1-2 bytes operands.

5 registers: A, X, Y, SP, SR.

Accumulator: used for immediate operations. LDA 0x10.