Register Machines Flashcards

(10 cards)

1
Q

Why are Register Machines theoretically attractive

A

they can be proven to be equivalent to turing machines

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

Why are Regitser Machines physically attractive

A

have clear analogies ot FSM

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

what are the cons to register machines

A

come aspects cannot be realised (like infinite sized words stored in registers)
Can be very innefficient

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

define register machine

A

a finite number of registers with the ability to store an infinite number

a program holding a fninite number of instructions each with a label

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

What is a configuration

A

is a tuple which stores the state of the machine
<li,v0,v1,…,v(r-1)>

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

how is some computation stored using a register machine

A

<C0,C1,..,Cn>
where n is the final configuration

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

What do register machines use godel encoding for

A

to compress a list of register values or a configuration or a computation into one single number

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

How does godel encoding work

A

let K be the sequence of numbers and P be a list of primes

PRODUCT (pi^ki)

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

How can an RM act as an FSM in disguise

A

where each configuartion is a state
and teh program determines the transition

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

describe the FDE cycle

A

Fetch load instruction in IR
incement PC

decode - determine what IR contents means
translate it into control signals

execute - Do the contents of IR

Memory access stage - perform any memory accesses

Write back stage - store result

How well did you know this?
1
Not at all
2
3
4
5
Perfectly