Study Guide #4 Flashcards
1
Q
What are the three types of instructions in our theoretical computer?
A
Memory reference, register reference, and I/O
2
Q
opcode 000-110
A
memory reference
3
Q
opcode 111, I = 0
A
register reference
4
Q
opcode 111, I = 1
A
I/O
5
Q
PC
A
program counter
6
Q
AR
A
address register
7
Q
IR
A
instruction register
8
Q
TR
A
temporary register
9
Q
OUTR
A
output register
10
Q
INPR
A
input register
11
Q
DR
A
data register
12
Q
AC
A
accumulator
13
Q
Direct addressing
A
I = 0; address field contains effective address (1 memory read)
14
Q
Indirect addressing
A
I = 1; address field contains address of effective address (2 memory reads)
15
Q
Instructions for branching to a subroutine
A
BSA: Branch and save return address