1/11
Looks like no tags are added yet.
Name | Mastery | Learn | Test | Matching | Spaced |
|---|
No study sessions yet.
What does command “STA” do?
#Copy the value held in the accumulator to the specified memory location
What is the function of LDA?
#Copy the value stored at the specified memory location into the accumulator
What is the function of “ADD”?
#Add the value stored at the specified memory location to the value held in the accumulator
What is the function of SUB?
#Subtract the value stored at the specified memory location from the value held in the accumulator
What is the function of BRA(Branch always)?
#Unconditional branch: Branch to the specified label
What is the function of BRZ(Branch Zero)?
#Conditional branch: if the value held in the accumulator is zero, the program branches to the specified label
What is the function of BRP(Branch Positive)?
#Conditional branch: if the value held in the accumulator is positive (or zero), the program branches to the specified label
What is the function of INP command?
#Takes an input value from the input area and stores it in the accumulator
What is the function of the OUT command?
#Displays the value held in the accumulator in the output area
What is the function of the OUT command
#Displays the value held in the accumulator in the output area
What does command HLT do?
#Halts the program
What id DAT used for?
#DAT is not an operation but is used to create a named memory location that will hold data.