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

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

View Full Document Right Arrow Icon
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
Background image of page 1

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

View Full DocumentRight Arrow Icon
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
Background image of page 2
Image of page 3
This is the end of the preview. Sign up to access the rest of the document.

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 Right Arrow Icon
Ask a homework question - tutors are online