Assembly Language Flashcards

You may prefer our related Brainscape-certified flashcards:
1
Q

The function of INP

A

Inputs a number

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

The function of STA

A

Stores values in the accumulator

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

The function of LDA

A

Loads the value stored in the accumulator

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

The function of OUT

A

Outputs the stored value

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

The function of BRP

A

Command used only if the value is positive

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

The function of BRZ

A

Command used only if the value is zero

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

The function of BRA

A

Command branches continuously

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

The function of ADD

A

Command used to add a number to the value currently stored in the accumulator

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

The function of SUB

A

Takes away a number from the value currently stored in the accumulator

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

The function of HLT

A

Stops running the program

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

The function of DAT

A

Command used to define a variable name

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