GATE EC 2016 Set 3 — Question 26
Go beyond PYQs with Success TrackerAI-powered personalised practice and doubt support. Unlimited practice on eligible plans; AI usage limits apply.MCQ+1 / -0.33MediumMachine Instructions & AddressingComputer OrganizationDigital Circuits
Digital Circuits → Computer Organization → Machine Instructions & Addressing
Last updated
Question
In an 8085 microprocessor, the contents of the accumulator and the carry flag are A7 (in hex) and 0, respectively. If the instruction RLC is executed, then the contents of the accumulator (in hex) and the carry flag, respectively, will be
Correct answer
(D) 4F and 1
Solution
In an 8085 microprocessor, the RLC (Rotate Left Accumulator) instruction rotates the contents of the accumulator one bit to the left. The most significant bit () is moved to the least significant bit () and also copied into the Carry Flag ().
1.Initial Accumulator (A) = .
2.Initial Carry Flag (CY) = .
3.Bit of the accumulator is .
4.After executing RLC:
- The bits to are shifted left to positions to .
- The original bit () is moved to .
- The original bit () is also moved to the Carry Flag ().
6.New Carry Flag: .
Therefore, the contents of the accumulator and the carry flag are 4F and 1, respectively.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 EC 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 Computer Organization
2026 Set 1 Q20In the circuit shown in the Figure, A and B are logic inputs and Y is the logic output. Which of…2026 Set 1 Q27A binary ripple counter is designed to count to . Which of the following…2026 Set 1 Q35The negative edge triggered JK flip-flop in the Figure has J and K inputs tied to Logic High and a…2026 Set 1 Q42The address of the first location of a 256 kilo byte (KB) memory is . Choose the correct…2026 Set 1 Q45What is the complement of ?