|
Memory reference instruction
|
bet | 10/10 | Sana | 18.05.2024 | Hajmi | 24 Kb. | | #242804 |
Bog'liq Protsessorda buyruqlarni bajarilish davri-fayllar.orgMemory reference instruction
The basic computer has 16-bit instruction register (IR) which can denote either memory reference or register reference or input-output instruction.
Memory Reference – These instructions refer to memory address as an operand. The other operand is always accumulator. Specifies 12-bit address, 3-bit opcode (other than 111) and 1-bit addressing mode for direct and indirect addressing.
Example – IR register contains = 0001XXXXXXXXXXXX, i.e. ADD after fetching and decoding of instruction we find out that it is a memory reference instruction for ADD operation.
Hence, DR ← M[AR] AC ← AC + DR, SC ← 0
http://fayllar.org
|
| |