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 how many types of ipc mechanism you know?
What happens when recursive functions are declared inline?
Tell me how are macros different from inline functions?
Are you familiar with design patterns? What design software have you used and in what situations?
List out some of the commonly found errors in Embedded Systems?
While writing interrupt handlers (ISR), which are points needed to be considered ?
Explain me what are the different types of system involved in embedded system?
IS 8085 an embedded system?
Explain the concept of separation of concerns and it's pros and cons.
Tell me what is interrupt latency?
Why does pre-emptive multi-threading used to solve the central controller problem?
What is the purpose of a watchdog timer?