What is the representation of the exponent

Assignment Help Computer Engineering
Reference no: EM131847212

Assignment

Problem 1

Represent each o f the following decimal numbers i n each o f the following binary representations using 8-bits:

1. Signed magnitude 2 . One's complement 3 . Two's complement
A. 8 2
B. - 1 7
C. Add the t w o ' s complement o f A and B above and then convert the result t o decimal.

Problem 2

Using the 1 4 - b i t floating point model, what i s the Signed Magnitude Representation -normalized & biased for: - 1 0 0 . 3 7 5
A. What is the representation of the Sign?
B. What is the representation of the Exponent?
C. What is the representation of the Significant?
D. What is the entire 1 4 - bit representation?

Problem 3

Complete the chart below for the following questions for the P e p / 8 machine language instructions given. Each Instruction starts from the Original Content ( i . e . each instruction is independent and i s not based o n the previous instruction). You will need t o jump ahead t o Chapter 6 t o determine ( D ) for one o f the instructions.

A: Accumulator                                                     X : Index Register
Me m [ 0 A3 F ] : Contents of Memory 0A3F             Mem [ 2A41 ] : Contents o f Memory 0A41

A. What does the instruction do ? ( Do )
B. Which register does it specify? (Register)
C. Which addressing mode does it specify? (Mode)
D. Given the original content, what is the content after the execution of the following instructions:

 

Do

Rgister

Mode

A

X

Mem[0A3C]

Mem[A42]

Original Content

 

 

 

10B6

FE25

0A41

AF30

Insturction

 

 

 

 

 

 

 

792A42

 

 

 

 

 

 

 

E12A42

 

 

 

 

 

 

 

A90A3C

 

 

 

 

 

 

 

C22A42

 

 

 

 

 

 

 

Problem 4

Determine the output o f the following machine-language program by running it in Pep/8. The left column in each part is the memory address of the first byte on the line:

Address

Instrution

Description

0000

C1000C

 

0003

18

 

0004

F1000B

 

0007

51000B

 

000A

00

 

000B

00

 

000C

FFDA

 

A. Submit the code with comments describing each line.
B. What is the output of the program?
C. The instruction at address 0003 is a unary instruction. What does that mean?
D. What is the instruction at 0003 doing? Give the binary value of the accumulator before and after the command.

Problem 5

Write a machine-language program t o output your first name o n the output device. Write it in a format suitable for the loader and execute it on the PEP/8 simulator. You may only use instructions in Fig 4.6. You shall submit

A. A written algorithm
B. Your commented program similar t o the Machine Language (hex) of Fig 4.35
C. The hexadecimal program suitable for the P e p / 8 loader. (Cut & paste the text into your document s o I can check your code)
D. A screenshot o f your program output screen

Problem 6

Write a machine-language program t o add the three numbers 6,-7 and 4 and output the sum o n the output device. Note-the inputs can be hard coded in data storage at the end of your code. The accumulator holds 16 bits so use 16 bit Two's Complement for the - 7 and do not use the subtract instruction. Write it in a format suitable for the loader and execute it on the PEP/8 simulator. You may only use instructions in Fig 4.6. You shall submit:

A. A written algorithm
B. Your commented program similar t o the Machine Language ( h e x ) of Fig 4 . 3 5
C. The hexadecimal program suitable for the Pep/8 loader. (Cut & paste the text into your document s o I can check your code)
D. A screenshot of your program output screen
E. Explain the range of numbers that this will work correctly.

Reference no: EM131847212

Questions Cloud

What advice constructing persuasive communications : A government agency wants to encourage people who have been drinking to use designated drivers. What advice could you give the organization about constructing.
Nursing process related to the administration : What is the nursing process related to the administration of respiratory and hematologic drugs?
History of benzodiazepine abuse : The patient has a history of benzodiazepine abuse and reports insomnia. The health care professional should caution the patient that the drug can cause.
Development of an asthma education plan : How will Juanita's cultural and socioeconomic factors influence the development of an asthma education plan
What is the representation of the exponent : What is the representation of the Sign? What is the representation of the Exponent? What is the representation of the Significant?
What are pros and cons of corporate strategy : Do you think focusing on billion-dollar franchises is a good corporate strategy for Disney? What are pros and cons of this strategy?
Diagnosis of congestive heart failure : A patient is admitted to the emergency room with a diagnosis of congestive heart failure (CHF). Which of the following medications may be ordered to treat CHF?
High blood pressure and blockages : Ms. F informs you that she has type 1 diabetes and that she takes medications for her heart. She can't remember what the drugs are right now
Describe the enterprise resource planning systems : Create a presentation for the president and CEO describing supply chain management, customer relationship management, and enterprise resource planning systems.

Reviews

Write a Review

Computer Engineering Questions & Answers

  Mathematics in computing

Binary search tree, and postorder and preorder traversal Determine the shortest path in Graph

  Ict governance

ICT is defined as the term of Information and communication technologies, it is diverse set of technical tools and resources used by the government agencies to communicate and produce, circulate, store, and manage all information.

  Implementation of memory management

Assignment covers the following eight topics and explore the implementation of memory management, processes and threads.

  Realize business and organizational data storage

Realize business and organizational data storage and fast access times are much more important than they have ever been. Compare and contrast magnetic tapes, magnetic disks, optical discs

  What is the protocol overhead

What are the advantages of using a compiled language over an interpreted one? Under what circumstances would you select to use an interpreted language?

  Implementation of memory management

Paper describes about memory management. How memory is used in executing programs and its critical support for applications.

  Define open and closed loop control systems

Define open and closed loop cotrol systems.Explain difference between time varying and time invariant control system wth suitable example.

  Prepare a proposal to deploy windows server

Prepare a proposal to deploy Windows Server onto an existing network based on the provided scenario.

  Security policy document project

Analyze security requirements and develop a security policy

  Write a procedure that produces independent stack objects

Write a procedure (make-stack) that produces independent stack objects, using a message-passing style, e.g.

  Define a suitable functional unit

Define a suitable functional unit for a comparative study between two different types of paint.

  Calculate yield to maturity and bond prices

Calculate yield to maturity (YTM) and bond prices

Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd