मराठी
महाराष्ट्र राज्य शिक्षण मंडळएचएससी विज्ञान (संगणक विज्ञान) इयत्ता १२ वी

The Registers a and C of 8085 Contain the Data E2h and 47h. What Will Be the Contents of Accumulator in Hex Digits After Execution of Each of the Following Instructions Independently?

Advertisements
Advertisements

प्रश्न

The Registers A and C of 8085 contain the data E2H and 47H. What will be the contents of Accumulator in Hex digits after execution of each of the following instructions independently?

1) SUB C

2) XRA C

3) ADD C

थोडक्यात उत्तर
Advertisements

उत्तर

1) [A] =E2H

[C] = 47JH

Instruction:SUB C

[C] = 47H = 0100 0111

2’s complement of 47H is : 1011 1001 i.e. [B9H]

After Execution: [A] =  9BH

   Carry [CY] = 00H

2) XRA C

∴ After execution : [A] = A5H

3) ADD C

∴ After executing : [A] = A9H

   Carry [CY] = 01H

shaalaa.com
  या प्रश्नात किंवा उत्तरात काही त्रुटी आहे का?
2017-2018 (March)

APPEARS IN

Share
Notifications

Englishहिंदीमराठी


      Forgot password?
Use app×