Which one is easier to work with? Naked Machine or Virtual Machine?
Virtual Machine
Which one can you be more productive with? Naked Machine or Virtual Machine?
Virtual Machine
A low level programming language is also called a?
Assembly Language
What is a Pseudo-Op?
Commands in the program directed to the assembler, not converted to machine instructions.
What are .BEGIN, .DATA and .END examples of?
Pseudo-Ops
What are some advantages of Assembly Language?
How would you express X = Y + 3 in Assembly Language?
LOAD Y
ADD THREE
STORE X
END
X: .DATA 0 –X is initially 0
Y: .DATA 5– Y is initially 5
THREE: .DATA 3 – The constant 3
True or false? Pseudo-ops are instructions provided by assembler.
True
True or false? A pass is when the assembler chooses not to do anything with a particular program.
False
What does it mean to bind (tie together) a symbolic name with a memory address?
Associating the name with the address
What’t the purpose of the loader?
Loads the object file to the memory and then executes it
A program written in assembly language is called a:
source program.
How does an assembler use the symbol table?
In the first pass: collects symbolic labels and their position relative to start of the program
In the second pass: substitutes the position for the symbol
Which of these is the label in this sample code:
NEXTSTEP: LOAD X – Put X into reg.R
NEXTSTEP:
Which of these is the mnemonic in this sample code:
NEXTSTEP: LOAD X – Put X into reg.R
LOAD
Which of these is the address field in this sample code:
NEXTSTEP: LOAD X – Put X into reg.R
X
Which of these is the comment in this sample code:
NEXTSTEP: LOAD X – Put X into reg.R
– Put X into reg.R