Design a circuit for A + abs(B) = C, where A and B are 4
bits wide and 2?s complement representation
Answer Posted / 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 View All Answers
Tell me why embedded system is useful?
what is the command/instruction in ARM that does not do anything or does not execute any instruction ? (except NOP instruction)
What's your experience with qa engineering?
Tell me what does dma address will deal with?
What is endianness of a system and how do different systems communicate with each other?
Tell me why does pre-emptive multi-threading used to solve the central controller problem?
What trade offs do you have for resource contention?
What's the difference between asynchrony and concurrency?
Tell me what is interrupt latency? How can you reduce it?
Tell me what is top half & bottom half of a kernel?
Explain the uses of timers in embedded system?
What are the different types of embedded systems?
Tell me when one must use recursion function? Mention what happens when recursion functions are declared inline?
Write a program to show the functionality of power-save super loop.
What is meant by a sandbox, why you would use one.