Lab 12 - FL13 - ECE 198 JL - University of Illinois - Engineering Wiki

Lab 12 FL13 ECE 198 JL University of Illinois Engineering Wiki

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

View Full Document Right Arrow Icon
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: Example Given the following 10 numbers : Addre ss Bina ry Num be r (in He x ) (in De cim a l) x 3132 0000 0000 0000 0001 x 0001 1 x 3133 1111 1111 1000 0000 x FF80 -128 x 3134 0000 0000 0000 0100 x 0004 4 x 3135 1111 1111 1111 1000 x FFF8 -8 x 3136 0000 0000 0010 0000 x 0020 32 x 3137 0000 0010 0000 0000 x 0200 512 x 3138 1111 1111 1100 0000 x FFC0 -64 x 3139 1111 1111 1111 1110 x FFFE -2 x 313A 1111 1111 0000 0000 x FF00 -256 x 313B 0000 0000 0001 0000 x 0010 16 Sinc e number 512 is the larges t number in the above s et, the following value s hould be s tored in Regis ter 5 after the c ompletion of y our program: Va lue store d in R5 (in He x ) (in De cim a l) 0000 0010 0000 0000 x 0200 512 Suggested Algorithm/Decomposition If y ou’re not s ure how to get s tarted with this lab as s ignment, we’ve provided a s imple s y s tematic dec ompos ition that y ou c an build on to develop y our algorithm and y our program. You are not required to us e this dec ompos ition; we provide it only as a referenc e to get y ou s tarted. Note that we us e generic ac ti...
View Full Document

This document was uploaded on 03/22/2014.

Ask a homework question - tutors are online