Memory reference instruction




Download 24 Kb.
bet10/10
Sana18.05.2024
Hajmi24 Kb.
#242804
1   2   3   4   5   6   7   8   9   10
Bog'liq
Protsessorda buyruqlarni bajarilish davri-fayllar.org

Memory 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



Download 24 Kb.
1   2   3   4   5   6   7   8   9   10




Download 24 Kb.