CGS3269.HW1.Fall09 - representation(15 points a(18 10(13 10...

Info icon This preview shows page 1. Sign up to view the full content.

View Full Document Right Arrow Icon
UCF School of Electrical Engineering & Computer Science CGS 3269 Computer Architecture Fall 2009 DUE 09/23/09 1.- Using 4 bit numbers, for example (5) 10 = ( 0101) 2 Write all positive numbers and all negative numbers that can be represented with four bits in sign-magnitude, one’s complement, and two’s complement. (20 points) 2.- Using binary numbers of 8 bits(i.e. (28) 10 = ( 0001 1100) 2 ). Write the numbers from (1) 10 to (20) 10 in binary, octal, and hexadecimal.(15 points) 3.- Convert: (10 points) a) from (18) 10 to (?) 2 b) from (10011100011) 2 to (?) 16 c) from (10011100011) 2 to (?) 8 d) from (10011100011) 2 to (?) 10 4.- Convert to binary and solve the following arithmetic operations using one’s complement representation : (15 points) a) (18) 10 + (13) 10 b) (18) 10 - (13) 10 c) -(18) 10 - (13) 10 5.- Convert to binary and solve the following arithmetic operations using two’s complement
Image of page 1
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: representation : (15 points) a) (18) 10 + (13) 10 b) (18) 10- (13) 10 c)-(18) 10- (13) 10 6.- Using the MARIE computer assembly language, write a program that computes the following expression: z a * b * c. The computer will read in the input values a, b, and c from the keyboard, and the final result (z) have to be displayed. In addition, every time an input value is read in, it must be displayed on the screen. Remember that the instruction set does not have an instruction to execute multiplication. The program must be tested in the MARIE simulator . (25 points) Submit through Webcourses. 1.- A word document with the answers to question 1 to 5. 2.- A separate file with the MARIE assembly program....
View Full Document

{[ snackBarMessage ]}

What students are saying

  • Left Quote Icon

    As a current student on this bumpy collegiate pathway, I stumbled upon Course Hero, where I can find study resources for nearly all my courses, get online help from tutors 24/7, and even share my old projects, papers, and lecture notes with other students.

    Student Picture

    Kiran Temple University Fox School of Business ‘17, Course Hero Intern

  • Left Quote Icon

    I cannot even describe how much Course Hero helped me this summer. It’s truly become something I can always rely on and help me. In the end, I was not only able to survive summer classes, but I was able to thrive thanks to Course Hero.

    Student Picture

    Dana University of Pennsylvania ‘17, Course Hero Intern

  • Left Quote Icon

    The ability to access any university’s resources through Course Hero proved invaluable in my case. I was behind on Tulane coursework and actually used UCLA’s materials to help me move forward and get everything together on time.

    Student Picture

    Jill Tulane University ‘16, Course Hero Intern