Design a circuit for A + abs(B) = C, where A and B are 4
bits wide and 2?s complement representation



Design a circuit for A + abs(B) = C, where A and B are 4 bits wide and 2?s complement representati..

Answer / siva

make a 4-bit adder/subtractor ( which can perform A+B and A-
B depending on value of bit say SUB..ie if SUB is 1 it will
perform A+B ) now give A and B as inputs and make MSB of B
as SUB bit.
suppose A=0110(6),B=1110(-2);so result will be A-B ie.,
A+|B|=6-(-2)=8

Is This Answer Correct ?    12 Yes 5 No

Post New Answer

More Embedded Systems AllOther Interview Questions

What is inversion of control?

0 Answers  


What are the different types of system involved in embedded system?

0 Answers  


What type of scheduling is there in rtos?

0 Answers  


What are the 4 types of inheritance relationship?

0 Answers  


what is the difference between embedded systems and the system in which rtos is running?

0 Answers  






Do you know what is priority inheritance?

0 Answers  


What are the components of embedded system?

0 Answers  


Can we put breakpoint inside isr?

0 Answers  


Would you call yourself a craftsman (craftsperson) and what does that word mean to you?

0 Answers  


If your database was under a lot of strain, what are the first few things you might consider to speed it up?

0 Answers  


Why embedded system is useful?

0 Answers  


Hi Guru here.......my question is....... Is it necessary to start the execution of a program from the main() in C?

4 Answers  


Categories