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 |
How are local and global variables are allocated by compiler.
What is the need for dmac in es?
Tell me how many types of ipc mechanism you know?
How can you ensure that debugging a program while it's being used will not affect its functionality?
What is the scope of a function that is declared as static?
What are the uses of the keyword static?
What are the differences between mocks and stubs/fakes and where you might use them.
What's risc architecture?
Explain me what are the rules followed by mutexes?
What's the difference between asynchrony and concurrency?
Tell me which parameters decide the size of data type for a processor?
What is refactoring? Have you used it and it is important? Name three common refactorings.