Toy Machine Flashcards

1
Q

Opcode

0

A

halt - exit

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

Opcode

1 add 1 R[d] <- R[s] + R[t]

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

Opcode

1 add 1 R[d] <- R[s] + R[t]
2 subtract 1 R[d] <- R[s] - R[t]

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

3 and 1 R[d] <- R[s] & R[t]

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

4 xor 1 R[d] <- R[s] ^ R[t]

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

5 left shift 1 R[d] <- R[s] &laquo_space;R[t]

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

6 right shift 1 R[d] <- R[s]&raquo_space; R[t]

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

7 load address 2 R[d] <- addr

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