Assembly Language Flashcards
1
Q
The function of INP
A
Inputs a number
2
Q
The function of STA
A
Stores values in the accumulator
3
Q
The function of LDA
A
Loads the value stored in the accumulator
4
Q
The function of OUT
A
Outputs the stored value
5
Q
The function of BRP
A
Command used only if the value is positive
6
Q
The function of BRZ
A
Command used only if the value is zero
7
Q
The function of BRA
A
Command branches continuously
8
Q
The function of ADD
A
Command used to add a number to the value currently stored in the accumulator
9
Q
The function of SUB
A
Takes away a number from the value currently stored in the accumulator
10
Q
The function of HLT
A
Stops running the program
11
Q
The function of DAT
A
Command used to define a variable name