Use app×
QUIZARD
QUIZARD
JEE MAIN 2026 Crash Course
NEET 2026 Crash Course
CLASS 12 FOUNDATION COURSE
CLASS 10 FOUNDATION COURSE
CLASS 9 FOUNDATION COURSE
CLASS 8 FOUNDATION COURSE
0 votes
198 views
in Computer by (102k points)
closed by
In 8051, the accumulator register contains 80H and B register contains 8FH. The content of the accumulator and status of the carry flag after the addition operation are respectively
1. 0FH, 1
2. 10FH, 0
3. FFH, 1
4. 10FH, 1
5.

1 Answer

0 votes
by (103k points)
selected by
 
Best answer
Correct Answer - Option 1 : 0FH, 1

The correct answer is option 1.

A= 80H 
B= 8FH
[A] + [B] = 80H + 8FH = 1 0FH

          1000 0000

   +     1000 1111 

------------------------------

      1   0000 1111  (1 0FH)

-----------------------------
But accumulator is an 8-bit register
Accumulator = 0FH
carry flag= 1

Hence the correct answer is 0FH, 1.

Welcome to Sarthaks eConnect: A unique platform where students can interact with teachers/experts/students to get solutions to their queries. Students (upto class 10+2) preparing for All Government Exams, CBSE Board Exam, ICSE Board Exam, State Board Exam, JEE (Mains+Advance) and NEET can ask questions from any subject and get quick answers by subject teachers/ experts/mentors/students.

Categories

...