Little Man Computer Flashcards

1
Q

What is operation is meant by ‘ADD’?

A

Add the contents of the given memory address to the accumulator.

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

What is operation is meant by ‘SUB’?

A

Subtracts the contents of the given memory address from the accumulator.

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

What is operation is meant by ‘STA’?

A

Store the contents of the accumulator in the given memory address.

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

What is operation is meant by ‘LDA’?

A

Load the contents of the given memory address into the accumulator.

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

What is operation is meant by ‘BRA’?

A

Branch to the given memory address as the next instruction. (Unconditional branch)

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

What is operation is meant by ‘BRZ’?

A

Branch to the given memory address if the accumulator is zero. (Conditional branch)

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

What is operation is meant by ‘BRP’?

A

Branch to the given memory address if the accumulator is positive or zero. (Conditional branch)

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

What is operation is meant by ‘INP’?

A

Input into the accumulator.

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

What is operation is meant by ‘OUT’?

A

Output the contents of the accumulator.

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

What is operation is meant by ‘HALT’?

A

Halt the program.

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

What is operation is meant by ‘DAT’?

A

Indicates a location that contains data.

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