8085 माइक्रोप्रोसेसर में निम्नलिखित प्रोग्राम की जाँच कीजिए।

MVI A, 8FH

MVI B, 68H

ADD B

प्रोग्राम के लिए CY, AC, P और S की स्थिति क्या है?

This question was previously asked in
MPPKVVCL Indore JE Electrical 21 August 2018 Official Paper
View all MPPGCL Junior Engineer Papers >
  1. AC = 1; CY = 0; S = 1; P = 0
  2. AC = 0; CY = 0; S = 1; P = 0
  3. AC = 0; CY = 1; S = 0; P = 1
  4. AC = 1; CY = 1; S = 0; P = 1

Answer (Detailed Solution Below)

Option 1 : AC = 1; CY = 0; S = 1; P = 0
Free
MPPGCL JE Electrical Fundamentals Mock Test
1 K Users
20 Questions 20 Marks 24 Mins

Detailed Solution

Download Solution PDF

8085 माइक्रोप्रोसेसर में फ्लैग रजिस्टर

1.) चिह्न फ्लेग (S):  किसी भी प्रचालन के बाद, यदि परिणाम का MSB (B7) 1 है, तो यह इंगित करता है कि संख्या ऋणात्मक है और चिह्न फ्लैग सेट हो जाता है।

2.) शून्य फ्लेग (Z): किसी अंकगणितीय या तार्किक संक्रिया के बाद यदि परिणाम 00 H है, तो शून्य फ़्लैग सेट हो जाते हैं।

3.) सहायक कैरी फ्लैग (AC): यदि किसी अंकगणितीय या तार्किक संक्रिया के बाद, बिट D3 कोई कैरी उत्पन्न करता है और इसे D4 पर भेजता है, तो यह फ़्लैग सेट हो जाता है।

4.) पैरिटी फ्लैग (P): यदि किसी अंकगणितीय या तार्किक प्रचालन के बाद परिणाम में समता है, 1 बिट की एक सम संख्या है, तो समता रजिस्टर सेट हो जाता है।

5.) कैरी फ्लैग (CY): n-बिट प्रचालन करने पर कैरी उत्पन्न होता है और यदि परिणाम n बिट से अधिक होता है तो यह फ्लैग सेट हो जाता है।

व्याख्या

A = 8F H = 1000 1111

B = 68 H = 0110 1000

A + B = 1111 0111 = F7 H

उपरोक्त परिणाम से, MSB 1 है, इसलिए S = 1

एक कैरी बिट D3 पर उत्पन्न होता है और D4 तक जाता है, इसलिए AC = 1

2 बिट प्रचालन के लिए, परिणाम भी 2-बिट होता है, इसलिए CY = 0

उपरोक्त परिणाम में 1 की संख्या विषम है, इसलिए P = 0

Latest MPPGCL Junior Engineer Updates

Last updated on Jul 18, 2025

-> MPPGCL Junior Engineer Notification 2025 has been released for various fields of post (Advt No. 3233).

-> MPPGCL has announced a total of 90 vacancies for Civil, Mechanical, Electrical, and Electronics Engineering (Junior Engineer).

->  Interested candidates can submit their online application form, from 23rd July to 21st August 2025. 

-> MPPGCL Junior Engineer result PDF has been released at the offiical website.

-> The MPPGCL Junior Engineer Exam Date has been announced.

-> The MPPGCL Junior Engineer Notification was released for 284 vacancies.

-> The selection process includes a Computer Based Test and Document Verification.

-> Candidates can check the MPPGCL JE Previous Year Papers which helps to understand the difficulty level of the exam.

More Microprocessors Questions

Get Free Access Now
Hot Links: teen patti winner teen patti gold apk download teen patti palace teen patti wealth