Advanced Embedded Systems Question:

Download Job Interview Questions and Answers PDF

Explain me which bit of the flag register is set when output overflows to the sign bit?

Advanced Embedded Systems Interview Question
Advanced Embedded Systems Interview Question

Answer:

☛ The 2nd bit of the flag register is set when output flows to the sign bit.
☛ This flag is also called as the overflow flag.
☛ Here the output of the signed number operation is too large to be accomodated in 7 bits.
☛ For signed numbers the MSB is used to indicate the whether the number is positive or negative.
☛ It is only used to detect errors in signed number operations.

Download Advanced Embedded Systems Interview Questions And Answers PDF

Previous QuestionNext Question
Explain me why does pre-emptive multi-threading used to solve the central controller problem?When one must use recursion function? Mention what happens when recursion functions are declared inline?