Question: You will specify two unpacked BCD numbers using 16 switches: o SW (7 downto 0) is your number1 o SW (15 down to 8)

 You will specify two unpacked BCD numbers using 16 switches: o SW  

You will specify two unpacked BCD numbers using 16 switches: o SW (7 downto 0) is your number1 o SW (15 down to 8) is your number2 Display the result number1+ number2 on the 16 LEDs, which has 2 unpacked BCD digits. In a sense, you are doing what the AAA instruction is meant to do. o LED (15 downto 8) is the result's higher unpacked BCD digit. o LED (7 downto 0) is the result's lower unpacked BCD digit. The addition ignores the high nibbles of both number1 and number2. T1 Test Vectors: O depicts an OFF LED 0x32+0x37 should result in 0x0009 0x340x37 should result in 0x0101 LEDs LEDS LEDS 0x09 + 0x09 should result in 0x0108 0x390x39 should result in 0x0108 LEDs O depicts an ON LED 000 000 0 000 00000 00 0000

Step by Step Solution

3.36 Rating (149 Votes )

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock

Solution The Specify rumpacked BCD number 16 Switches SW 7 down to 0 is your numbery lib... View full answer

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 Finance Questions!