E E 319K Midterm: EE319K Exam1F17
Document Summary
Your signature is your promise that you have not cheated and will not cheat on this exam, nor will you help others to cheat on this exam: No books, no papers, no data sheets (other than the last two pages of this. Anything outside the boxes/blanks will be ignored in grading. Assume an 8-bit value has binary of 10010010. What is the 8-bit value in signed decimal format? (10) question 3 assume data is an 8-bit unsigned global variable in ram. uint8_t data; Write assembly code that performs the following c code (no function, just assembly code), if(data >= 32){ If we were to execute x=func(6,4); what would be the value of x? (10) part b) write func in assembly using aapcs. You will need to use some choices (a e) more than once. Consider the following shorthand codes for 5 bits that need to be set during initialization.