quiz image

Types of Buses in Computer Systems

GallantReal avatar
GallantReal
·
·
Download

Start Quiz

Study Flashcards

Questions and Answers

In a two-address Instruction Set Architecture (ISA), such as Intel or Motorola, the expression Z = X * Y + W * U would typically be represented as:

LOAD R1, X MULT R1, Y LOAD R2, W MULT R2, U ADD R1, R2 STORE Z, R1

In a one-address ISA like MARIE, the expression Z = X * Y + W * U would be represented as:

LOAD X MULT Y STORE TEMP LOAD W MULT U ADD TEMP STORE Z

In a stack-based ISA, the postfix expression Z = X * Y + W * U would be represented as:

PUSH X PUSH Y MULT PUSH W PUSH U MULT ADD POP Z

Which of the following statements about instruction formats is correct?

<p>Expanding opcodes can help recover some space wasted by instructions that require no operands in a fixed-length instruction format.</p> Signup and view all the answers

Given a system with 16 registers and 4K of memory, how many bits are required to address a register and a memory location, respectively?

<p>4 bits for a register, 12 bits for a memory location</p> Signup and view all the answers

In a three-address ISA, the expression Z = X * Y + W * U would typically be represented as:

<p>MULT R1, X, Y MULT R2, W, U ADD Z, R1, R2</p> Signup and view all the answers

Which of the following statements is true about the expression Z = X * Y + W * U in a stack-based ISA versus a three-address ISA?

<p>The stack-based ISA representation would require more execution time than the three-address ISA representation.</p> Signup and view all the answers

More Quizzes Like This

Use Quizgecko on...
Browser
Browser