1.2.4 c Flashcards

1
Q

ADD

A

Adds the value of the given memory address to the value in the accumulator

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

SUB

A

Subtracts the value of the given memory address to the value in the accumulator

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

STA

A

Stores the value in the accumulator at the given memory address

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

LDA

A

Loads the value at the given memory address into the accumulator

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

INP

A

Allows the user to input a value which will be held in the accumulator

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

OUT

A

Prints the value currently held in the accumulator

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

HLT

A

Stops the program at that line, preventing the rest of the code to be executed

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

DAT

A

Creates a flag with a label at which data is stored

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

BRZ

A

Branches to a given address if the value in the accumulator is zero, this is a conditional branch

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

BRP

A

Branches to a given address if the value in the accumulator is positive, this is a conditional branch

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

BRA

A

Branches to a given address no matter the value in the accumulator. This is an unconditional branch

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