quiz 5 weakness Flashcards
1
Q
How many operands can instructions have in the Simple Computer instruction set?
A
one, Two, or zero
2
Q
Which instruction belongs to the ‘program sequencing and control’ category in the Simple Computer architecture?
a) modi
b) read
c) jumpifzero
d) none of the above
A
jumpifzero
3
Q
How many bytes does the program counter have in the Simple Computer architecture?
A
1 Byte
4
Q
What is one advantage of using two-pass assemblers?
A
They allow forward references by first building a complete symbol table before code generation.
5
Q
What is one disadvantage of using two-pass assemblers?
A
They require scanning the code twice, which can slow down the assembly process.