Design a circuit for A + abs(B) = C, where A and B are 4
bits wide and 2?s complement representation
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 |
Tell me what is the function of simple thread poll in embedded system?
IS 8085 an embedded system?
List out various uses of timers in embedded system?
Tell me why is java mostly used in embedded systems?
What are the functional requirements that are used in the embedded systems?
Tell me what are the qualifiers in c?
Can you please explain the difference between mutexes vs semaphores?
What is priority inheritance?
Explain various uses of timers in embedded system?
If your database was under a lot of strain, what are the first few things you might consider to speed it up?
Tell me what are the uses of the keyword volatile?
What is the difference between hard real-time and soft real-time os?