problems1to3-5

# problems1to3-5 - Paul Alexander Gonzales Lab 7 BME 303...

This preview shows pages 1–3. Sign up to view the full content.

Paul Alexander Gonzales Lab 7 BME 303 session 14345 Problem 1) 0011 0000 0000 0000; Starting point 0110 010 001 001100; Load the value from memory location x5000 to R2. 1111 0000 0010 0101; Trap Line Problem 2) 0011 0000 0000 0000; starting point 0001 011 001 000 010; add R1 and R2 and store in R3 0111 011 100 000000; store whats in R3 put at memory address of R4 1111 0000 00100101; Trap Line Problem 3) 0011 0000 0000 0000; Starting point 1010 010 010000000; LDI load value x3081 to R2 1111 0000 0010 0101; Trap Line Problem 4) A B S C 0 0 0 0 0 1 1 0 1 0 1 0 1 1 0 1 C = AB S= A’B + AB’ Bitwise Half-Adder of R0=A and R1=B, storing the results in R2=S and R3=C, 0011 0000 0000 0000; starting point 1001 011 000 111111; NOT R0 and store in R3 0101 101 011 0 00 001; AND(R3, R1) and place in R5 1001 100 001 111111; NOT R1 and place in R4

This preview has intentionally blurred sections. Sign up to view the full version.

View Full Document
Paul Alexander Gonzales Lab 7 BME 303 session 14345 0101 110 000 0 00 100;AND(R4,R0) and place in R6 1001 101 101 111111; NOT the result that is in R5 and place in R5 1001 110 110 111111; NOT the result that is in R6 and place in R6
This is the end of the preview. Sign up to access the rest of the document.

## This note was uploaded on 01/12/2010 for the course BME 14345 taught by Professor Orlyalter during the Fall '09 term at University of Texas.

### Page1 / 3

problems1to3-5 - Paul Alexander Gonzales Lab 7 BME 303...

This preview shows document pages 1 - 3. Sign up to view the full document.

View Full Document
Ask a homework question - tutors are online