Electronics Engineering · Microprocessors
What is the functionality of the 8051 assembly program given below? MOV A, #0 MOV R2, #10 AGAIN: ADD A, #03 DJNZ R2, AGAIN MOV R5, A
- 1It clears the accumulator and then adds the value 13 to the accumulator 10 times
- 2It decrements register R2 10 times and then stores the value 3 in the accumulator
- 3It adds the contents of R2 and A and then stores the result in the accumulator
- 4It clears the accumulator and then adds the value 3 to the accumulator 10 times✓
Correct answer
It clears the accumulator and then adds the value 3 to the accumulator 10 times
Download Single Question PDF
Save this question and verified answer as a clean study sheet with live clickable link.
Share with Friends & Study Groups
Challenge your peer aspirants on WhatsApp or Telegram to solve this question!
Preparing for Electronics Engineering?
Practice full-length mock tests with real exam timers, instant score analysis, and all-India ranking.
Want more practice questions on Microprocessors?
Solve complete topic-wise tests with detailed solutions on GkGet.
Related Practice Questions
Recommended practice questions in Electronics Engineering · Microprocessors