GATE EE 2023 Set 1 — Question 57
Go beyond PYQs with Success TrackerAI-powered personalised practice and doubt support. Unlimited practice on eligible plans; AI usage limits apply.NAT+2 / -0MediumDigital Logic CircuitsAnalog & Digital Electronics
Analog & Digital Electronics → Digital Logic Circuits
Last updated
Question
In a given 8-bit general purpose micro-controller there are following flags.C-Carry, A-Auxiliary Carry, O-Overflow flag, P-Parity (0 for even, 1 for odd) R0 and R1 are the two general purpose registers of the micro-controller.After execution of the following instructions, the decimal equivalent of the binary sequence of the flag pattern [CAOP] will be __________.
MOV R0, +0x60
MOV R1, +0x46
ADD R0, R1
Correct answer
2 to 2
Solution
1.Convert to Binary:
0110 0000 (0x60)
+ 0100 0110 (0x46)
-----------
1010 0110 (0xA6)
3.Determine Flags:
- C (Carry): No carry out from the MSB (bit 7). .
- A (Auxiliary Carry): No carry from bit 3 to bit 4 (). .
- O (Overflow): Addition of two positive numbers (MSB=0) resulted in a negative number (MSB=1). .
- P (Parity): The result has four 1s. Since 4 is even, (as per the definition 0 for even).
5.Decimal Equivalent: .
Continue learning with Success Tracker
A step still unclear? Work through it with support
Use Success Tracker to ask about the reasoning, then try another GATE EE question to check your understanding.
AI-powered practice· Unlimited practice on eligible plans
- PYQs with solutions
- Attempt available previous-year questions, then compare your reasoning with the worked solution. Coverage varies by stream.
- Practice that adapts
- Choose a topic, work on weaker areas and bookmark questions to revisit. Your attempts feed your progress tracking.
- AI doubt support
- Ask follow-up questions about a step or concept while practising, instead of stopping at the final answer.
Unlimited practice is available on eligible plans. Free practice and AI usage have limits; check the current plan allowances before choosing.
This page stays readable without an account. AI responses can be wrong; check them against the solution and source material.
More questions on Digital Logic Circuits
2026 Set 1 Q33In the linear regulator circuit shown, the base to emitter voltage of the BJT is…2026 Set 1 Q37In the circuit shown, the open loop gain of the operational amplifier is . What is the…2026 Set 1 Q45The digital circuit shown has 3 inputs (, , and ). The simplified logical expression for…2026 Set 1 Q46The MOSFET switches shown in the circuit are ideal. [figure] Which of the following is the correct…2026 Set 1 Q61Consider the circuit shown. Assume that the diode () is ideal. Given …