This preview shows page 1. Sign up to view the full content.
Unformatted text preview: 3. In a single loop: a. Add together all the original positive numbers and store at location $1080 b. Add together all the ones complement numbers and store at $1084 4. Add up the sign/magnitude numbers assuming the first 4 are negative and the rest are positive. a. After loading a number into Accumulator D, ensure that it is negative with the command ORAA #%1000 0000 or positive with the command ANDA #%0111 1111. These commands will set the most significant bit appropriately while leaving all other bits in Accumulator D alone. 5. Do to sets of custom operations, one using ones complements and the other using twos complements. Store them at $1086 and $1088 respectively. Results Results are shown on the following page in the screenshot....
View Full Document
This lab report was uploaded on 04/11/2008 for the course ECE 2325 taught by Professor Fernandorios-guiterrez during the Fall '06 term at University of Minnesota Duluth.
- Fall '06