Due Date: _________________________ CSC 205 Computer Organization Homework ____ on Chapter(s) _____ of Warford (This homework is based on the end-of-chapter exercises only.) Chapter 1 Sections 1 to 4 Exercises (On Section 1) 4. 7. 9. 10. (On Section 2) 16. (Parts a, e, and g only) 18. (Parts a, c, and e only) 20. 21. (On Section 3) 23. (Parts a, c, and e only) 25. (Parts a and c only) (On Section 4) 35. 37. 39. 42. 43. Due Date: _________________________ CSC 205 Computer Organization Homework ____ on Chapter(s) _____ of Warford (This homework is based on the end-of-chapter exercises only.) Chapter 1, Section 1.5 (On Section 1.5) 45. 47. 49. 50. 51. (Parts b, d, and f only) 52. (Parts b, d, and f only) Due Date: _________________________ CSC 205 Computer Organization Homework ____ on Chapter(s) _____ of Warford (This homework is based on the end-of-chapter exercises only.) Part II Represent the following values in the 12 bit format discussed in class. A. 987.452 B. - infinity C. 0.092371 normalized What decimal numbers do the following 12 bit floating point values represent D. 1 10110 001010 E. 0 00000 010110 Due Date: _________________________ CSC 205 Computer Organization Homework ____ on Chapter(s) _____ of Warford (This homework is based on the end-of-chapter exercises only.) Develop a table similar to Table 3.10 (Page 118) for the following floating point number: 12 bits total The first bit is the sign. The next five bits are the exponent The remaining 6 bits are the fraction. For each part of the table, you can just put the first and last value for each data set. Binary Not a Number - infinity Negative Normalized Negative Denormalized Negative Zero Positive Zero Positive Denormalized Positive Normalized Positive Infinity Not a Number Scientific Decimal CSC 205, Chapter 4 Warford Exercises (On Section 1) 1. 2. 4. (On Section 2) 6. (On Section 3) 8. 9. Input is ‘t’ ‘a’ ‘b’, not the tab key Due Date: _________________________ CSC 205 Computer Organization Homework ____ on Chapter(s) _____ of Warford (This homework is based on the end-of-chapter exercises only.) Due Date: _________________________ CSC 205 Computer Organization Homework ____ on Chapter(s) _____ of Warford (This homework is based on the end-of-chapter exercises only.) Chapter 5 Warford -- Exercises (On Section 5.1) 2. 4. 6. 8. 9. Hexadecimal values, not machine language (On Section 5.2) 11. 12. (On Section 5.3) 14. 16. Due Date: _________________________ CSC 205 Computer Organization Homework ____ on Chapter(s) _____ of Warford (This homework is based on the end-of-chapter exercises only.) CSC 205, Homework 2 on Chapter 2 Exercises 2 10 (Part A only) 21 27 32 35 36 51 54 (Challenging question, optional) (Section 3 A – Karnaugh maps) 2 3 Due Date: _________________________ CSC 205 Computer Organization Homework ____ on Chapter(s) _____ of Warford (This homework is based on the end-of-chapter exercises only.) Chapter 6 Exercises Part I (On Section 6.1) 1. (On Section 6.2) 3. (On Section 6.3) 6. (On Section 6.4) 9. (Turn over page for Part II) Due Date: _________________________ CSC 205 Computer Organization Homework ____ on Chapter(s) _____ of Warford (This homework is based on the end-of-chapter exercises only.) Part II Given the following part of a PEP/8 program, write the assembly code necessary to sum the (full-word integer) values in an array and write the result. (Each array value is two bytes.) Output the sum after the loop to accumulate. No object code is necessary, just the assembly. You can assume that the array has been defined by previous code. Also, assume that the entire array is filled with significant data. Do not use impure code, that is, used indexing to write the array values. Also, use a loop for your solution. Hint–use the accumulator to hold the sum in the loop. MAXSIZE: intlist: sum: main: br main .equate 10 ; size of array in 16 bit words ; decimal 10 default is decimal .block 20 ; array declaration .block 2 ; to hold sum of array values for output ; main program will sum all array values ; and output result ; there is no need for a loop control variable