Question

Question 1
Binary numbers can be interpreted in a number of ways. Consider the following 32-bit binary number:
0010 0000 1011 0100 0000 0000 1001 0100
a) What is the value when interpreted as a set of four 8-bit 2's complement signed integers?

Question 2:
The MIPS branch instructions modify the program counter (PC) by adding an immediate two's complement value.
a) What does this value represent?
b) Why is this value multiplied by 4 before being added to the program counter?

Question 3:
Find one of each of the following types of devices, either in your house, at work, or elsewhere. For each device that you find, try to discover the CPU chip manufacturer and assembly language of the main processor, as well as the processing speed, ram, and L1 cache amounts

- Embedded special-purpose computer such as a digital camera, smart refrigerator, or car navigation system.

Question 4:
Describe, in your own words, the difference(s) between the following concepts:
- Overflow versus carry out
- truncation error versus rounding error
- two’s complement representation versus biased representation (used in IEEE 754 floating point)
- NaN versus infinity
- Machine language versus assembly language

Question 5:
Represent each of the following values in the IEEE 754 32-bit format, truncating inexact values. Indicate the percent error of the value stored compared to the exact value. This will require you to convert the 32 bit floating point number back to decimal and compare to the original value.
a) -37 1/4
b) +12 1/5

Solution Preview

This material may consist of step-by-step explanations on how to solve a problem or examples of proper writing, including the use of citations, references, bibliographies, and formatting. This material is made available for the sole purpose of studying and learning - misuse is strictly forbidden.

2a) The target address is the offset (immediate operand) from incremented PC old value. It is used the 2’s complement value because this shows if the target address resides forward or backward compared to the old PC value. By default, in MIPS the offset value is equal with number of words minus 1. The explanation also resides in the fact that branch instructions use PC-relative addressing mode and not absolute....

This is only a preview of the solution. Please use the purchase button to see the entire solution

$33.00

or $1 if you
register a new account!

Assisting Tutor

Related Homework Solutions

Floating Point Questions
Homework Solution
$3.00
Bit
Binary
Floating
Point
Number
Sign
Mantissa
Exponent
Bias
Representation
Denormalized
Normalized
MSB
Most
Significant
Decimal
5 Problems with Virtual Memory and Cache Organization
Homework Solution
$23.00
Word
Memory
Direct
Mapped
Cache
Associative
Way
Block
Address
Tag
Field
Referrence
Main
Set
Page
Translation
Virtual
System
Physical
Logical
Frame
Page
Size
Table
Location
Management
Unit
Hexadecimal
Computer Architecture, MARIE Language & CRC-Related Questions
Homework Solution
$18.00
Computer
Architecture
Instruction Format
Instruction Set
Bits
Size
Address Field
Zero-Address
One-Address
Two-Address
MARIE
CRC
Polynomial
Code
Word
Skipcond
Jump
Add
Load
Store
Subt
Halt
Dec
Tomasulo's Approach - Short Report (840 words)
Homework Solution
$18.00
Tomasulo
Dynamic
Scheduling
Algorithm
Approach
Hazard
Pipeline
Stall
WAR
WAW
Scoreboard
Opcode
Instruction
Unit
CDB
Common
Data
Bus
Hardware
Get help from a qualified tutor
Live Chats