Lesson 2
To be able to:
The width of an address bus determines the maximum possible memory addresses of the system.
With an 8-bit address bus, the maximum number of memory addresses is 2^8 = 256.
An average PC has a memory capacity of 4GiB (Gibi bytes), which is 2^32 bytes.
Therefore, it must have a 32-bit address bus.
The data bus is bi-directional, as data can be sent both ways along the bus
The width of a data bus is defined by the number of wires or lines it contains.
If the data bus is the same width as a computer word, data can be transferred to and from memory in a single operation.
A computer word is how memory is split up into equal units, usually 8, 16, 32 or 64 bits.
Assembly language is very closely related to machine code
Generally, there is a one-to-one correspondence between a machine code instruction and its assembly language equivalent.
The architecture of a computer, including the word size and width of the address bus, determines the format of a machine code instruction.
C50D; load the contents of accumulator into location 0D
The equivalent assembly code instruction could be:
LDA #13
The maximum size of the operand will depend on the width of the address bus.