No student devices needed. Know more
24 questions
Assembly language is a high level language
True
False
In Little Man Computer which assembly instruction loads a value from memory onto the accumulator?
STA x
LDA x
ADD x
SUB x
INP
In Little Man Computer which assembly instruction stores the value in the accumulator to a memory location?
STA x
LDA x
ADD x
SUB x
INP
If the contents of the accumulator are -10 which branch would be taken?
BRA
BRZ
BRP
If the contents of the accumulator are 0 which branches could be taken?
BRA
BRZ
BRP
If the contents of the accumulator are 10 which branch would be taken?
BRA
BRZ
BRP
What Input a number to the accumulator?
INT
INP
INPUT
STA x
What Outputs the number in the accumulator?
OUT x
OUTP x
OUTPUT x
All of the above
What Adds the number at address x to the accumulator?
Plus x
AD x
ADDITION x
ADD x
What Subtracts the number at address x from the accumulator?
SUBT x
SUB x
SUBTRACT
MIN
What Ends the program (Halt)?
HALT
HLT
END
STOP
What is shown here?
memory locations
accumulator
inputs
LMC is an example of
assembly language
high level programming language
binary
The mnemonic for BRANCH IF ZERO is:
The mnemonic for BRANCH IF POSITIVE is:
Write a line of LMC which makes a variable called num1 with a value of 3
What is a MNEMONIC?
A single action that can be performed by a computer.
A symbol that represents an instruction in assembly code.
A high level language keyword.
A register used inside a CPU A register used inside a CPU.
Explore all questions with a free account