100% satisfaction guarantee Immediately available after payment Both online and in PDF No strings attached
logo-home
CPS 310 Midterm Review || with 100% Error-free Answers. $10.69   Add to cart

Exam (elaborations)

CPS 310 Midterm Review || with 100% Error-free Answers.

 1 view  0 purchase
  • Course
  • CPS 310
  • Institution
  • CPS 310

Instruction Set Architecture (ISA) correct answers view of a machine which corresponds to the machine and assembly language levels compiler correct answers translates a high level language, which is architecture independent, into assembly language, which is architecture dependent assembler...

[Show more]

Preview 2 out of 5  pages

  • October 27, 2024
  • 5
  • 2024/2025
  • Exam (elaborations)
  • Questions & answers
  • CPS 310
  • CPS 310
avatar-seller
FullyFocus
CPS 310 Midterm Review || with 100% Error-free Answers.
Instruction Set Architecture
(ISA) correct answers view of a machine which
corresponds to the machine and assembly language levels

compiler correct answers translates a high level language, which is architecture
independent, into assembly language, which is architecture dependent

assembler correct answers translates assembly language programs into executable
binary code

• For fully compiled languages like C and Fortran, the binary codes are
executed directly by the target machine. Java stops the translation at the
byte code leve correct answers

A compiled program is ...
how cpu executes it correct answers 1. copied from hard disk to memory
2. reads instructions and data from memory , executes results than stores back into memory

A word has how many bits? correct answers 32

In a byte addressable machine, the ____________ data that can be referenced in memory is the
_____________ correct answers smallest
byte

__________ is stored in a single memory location correct answers single byte data

____________- is stored as a sequence of bytes in a
number of memory locations correct answers

how to access single byte data and how to store and read correct answers 1. address of the
memory location holding single byte data holding
2. only one way to store/read data

how to access multi byte data and how to store and read correct answers 1. address of the
memory location is the same as the adress of the lowest byte
2. two ways big and little endian

Big Endian correct answers most significant byte has lowest address (stored first)

Little Endian correct answers least significant byte has lowest address (stored first)

SPARC stands for ___________________ correct answers scaleable processer achitechture

RISC (Subset of sparc) correct answers Reduced Instruction Set Computer

, The ARC ISA is a subset of the ________________ correct answers SPARC ISA

memory map 0 - 2048 is reserved for .....
user space is from..........
bottom of system stack is
what space is reserved for I/O devices correct answers OS
2048 to system stack
(2^31) - 4 and grows towards lower addresses
between 2^31 and (2^32)-1 (TREATED LIKE MEMORY DEVICES)

2^n bit address space ( n is how many bits) correct answers

hard allignment correct answers half words must have even addresses
words must have addresses that are multiples of 4

soft allignment correct answers unaligned memeory objects are permitted bt it may take longer
may requite more time (intel x86)

The CPU consists of which two parts? correct answers data section/datapath (registers and ALU)
and control section

arc is big endien correct answers

what are the two registers that that form interface between control unit and datapath correct
answers PC - program counter (OR INSTRUCTION POINTER FOR INTEL) and instruction
register IR

pointed by PC than stored and interpreted in IR

4 steps when exciting a program by control unit (fetch execute cycle) correct answers 1. fetch
next instruction from memory
2. decode opcode
3. read opcode from main memory if any
4. execute and store results if any
5. back to step 1

register file correct answers small fast memory, similar to main but not main, few to a few
thousand REGISTERS

instruction set differs for every processer.

expetion correct answers The set of instructions that the processor can execute.

diff processors have diff instructions which usually differ in size , type of operations and
operends , and complexity of instructions

The benefits of buying summaries with Stuvia:

Guaranteed quality through customer reviews

Guaranteed quality through customer reviews

Stuvia customers have reviewed more than 700,000 summaries. This how you know that you are buying the best documents.

Quick and easy check-out

Quick and easy check-out

You can quickly pay through credit card or Stuvia-credit for the summaries. There is no membership needed.

Focus on what matters

Focus on what matters

Your fellow students write the study notes themselves, which is why the documents are always reliable and up-to-date. This ensures you quickly get to the core!

Frequently asked questions

What do I get when I buy this document?

You get a PDF, available immediately after your purchase. The purchased document is accessible anytime, anywhere and indefinitely through your profile.

Satisfaction guarantee: how does it work?

Our satisfaction guarantee ensures that you always find a study document that suits you well. You fill out a form, and our customer service team takes care of the rest.

Who am I buying these notes from?

Stuvia is a marketplace, so you are not buying this document from us, but from seller FullyFocus. Stuvia facilitates payment to the seller.

Will I be stuck with a subscription?

No, you only buy these notes for $10.69. You're not tied to anything after your purchase.

Can Stuvia be trusted?

4.6 stars on Google & Trustpilot (+1000 reviews)

75759 documents were sold in the last 30 days

Founded in 2010, the go-to place to buy study notes for 14 years now

Start selling
$10.69
  • (0)
  Add to cart