Question: Help please ! (15 pts) CS 3843 Computer Organization IHW #08 Name/abc123: Due Mon. Aug 7, 2017 1. (15 pts) Simulate a 3-bit full adder

 Help please ! (15 pts) CS 3843 Computer Organization IHW #08
Name/abc123: Due Mon. Aug 7, 2017 1. (15 pts) Simulate a 3-bitHelp please !

(15 pts) CS 3843 Computer Organization IHW #08 Name/abc123: Due Mon. Aug 7, 2017 1. (15 pts) Simulate a 3-bit full adder comprised of basic logic gates in assembly language. The circuit schematic for a 1-bit adder is shown below. The 3-bit adder has two parallel stages with the carry out of th LSB connected to the carry in of the next bit. a. (2 pts) Draw the 3-bit adder circuit. You may use the box representation showing the inputs and outputs. b. (8 pts) Write the assembly code to simulate the 3-bit circuit no using the add assembly instruction but rather the logic such as XOR, AND, OR, etc. This circuit may be slightly different than the one presented in class so make sure to simulate this one for full credit I suggest writing the code to simulate the 1-bit circuit below first. Then call that as a subroutine as below: Sum= bitAdd(Ain, Bin, Cin, &Cout); // Do this is assembly Or repeat the code 3 times in a row, either is fine. Remember, Sum Ain, Bin, Cin, and Cout are only 1 bit, so hence can only equal0 or 1. Set the initial Cin to 0 Your final result will have 64 possible outputs. Since "A" and "B" are 3-bit values, they have 8 values each. Think of "A", "B", and Sum" as arrays of bits of size 3. BIT TYPE A3, B03],Sum [3] For (A0 A > 1) & 1; A[2] = (A >> 2) & 1; B[] likewise sum [0] A[0] xor B[0]; Sum[1] A[1] xor B[1] xor Cout [0]; Etc c. (5 pts) Be sure to intelligently comment your assembly code. BIN Sum AIN CoUT IN 2017 06-CS 3843 Computer Organization- Homework Page

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!