E E 319K Midterm: EE319K Exam1Sp16

15 views10 pages
31 Jan 2019
School
Course
Professor

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 n m. (1) part j) what is the c operator that performs a boolean and. What is the value as signed decimal? (8) question 3a assume data is an 8-bit signed variable in ram. Write assembly code that divides the value of this variable by 8 using the shift operation, storing the result back in data. (8) question 3b write an assembly subroutine called decr, which has one input and one output. Assume the input is a 32-bit signed number. The function should decrement the input value with the exception that it will not decrement if the input is already at the smallest possible negative number, -2,147,483,648.

Get access

Grade+
$40 USD/m
Billed monthly
Grade+
Homework Help
Study Guides
Textbook Solutions
Class Notes
Textbook Notes
Booster Class
10 Verified Answers

Related Documents