quiz 5 weakness Flashcards

1
Q

How many operands can instructions have in the Simple Computer instruction set?

A

one, Two, or zero

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
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

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

How many bytes does the program counter have in the Simple Computer architecture?

A

1 Byte

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
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.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
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.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly