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

A two byte number is stored at location COOO H and COOl H. Write on Assembly Language Program to rotate this number to left side by 3 places and store the rotated number in BC register pair. - Computer Science 2

Advertisements
Advertisements

प्रश्न

A two-byte number is stored at location C000 H and C001 H. Write on Assembly Language Program to rotate this number to the left side by 3 places and store the rotated number in the BC register pair.

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

उत्तर

Label Mnemonics + Operand Comment
  LHLD C000 ; Load HL pair from C000 memory location
  DAD H ; Add register pair to HL pair
  DAD H ; Add register pair to HL pair
  DAD H ; Add register pair to HL pair
  SHLD BC ; Store HL pair to BC register pair
  RST 1.0 ; Restart                                                              
shaalaa.com
  या प्रश्नात किंवा उत्तरात काही त्रुटी आहे का?
2015-2016 (March)

APPEARS IN

Share
Notifications

Englishहिंदीमराठी


      Forgot password?
Use app×