Part 2 Modify The Circuit In Part1 So It Can Be Used To Perform Arithmetic Operations On Operands X And Y X Y Are Conn 1 (41.38 KiB) Viewed 104 times
Part 2 Modify The Circuit In Part1 So It Can Be Used To Perform Arithmetic Operations On Operands X And Y X Y Are Conn 2 (84.19 KiB) Viewed 104 times
PART 2: Modify the circuit in PART1 so it can be used to perform arithmetic operations on operands X and Y(X, Y are connected to PortD). The operation is selected based on a code received from a 2-bit selector. The selector should be connected to PortC (C1, CO). The result should appear on the LEDs connected to PortB. The following figure shows how the components are connected together. Write the code that perform the operations automatically. Selector (CICO Operation 00 X+Y 01 X-Y 10 X*Y 11 X and Y
T: 000006,20253 Hout a mega328 at 16 MHZ D7 100 32 D6 atmega328-10 100 S2 D5 1002 02 D4 100 92 04 Vec and D3 100 S2 A. BS 07 OS D2 100Ω 07 30 D1 100 S2 DO 100 32 SV X3 XO Y3 X2 X1 Number X YO Y2 Y1 Number Y
Join a community of subject matter experts. Register for FREE to view solutions, replies, and use search function. Request answer by replying!