instruction is used for 16-bit addition. - Computer Science 2

Advertisements
Advertisements

.....................instruction is used for 16-bit addition.
(i) ADD
(ii) ADI
(iii) ADC
(iv) DAD

Advertisements

Solution

DAD

Concept: Instruction Set and Programming of 8085
  Is there an error in this question or solution?
2015-2016 (March)

APPEARS IN

RELATED QUESTIONS

Write an Assembly Language Program to multiply a number stored at location 1050 with a nunber at location 1051. Result is 2-byte. Store result at locations 1052 and 1053.


Accumulator contents of 8085 are B7H and register B contents are A5H.What will be the effect of following instructions on the. contents of  Accumulator, when executed independently ?
(i) ADI 05
(ii) CMP B
(iii) CMA
(iv) XRA B
(v) ORA B


Locate smallest number in a block from 2050H to 2060H and store it in memory location 2061H


Write a Assembly Language Program to copy a block of data having starting address 4500 H to new location starting from 4600 H. The length of block is stored at memory location 44FF H.


Write an Assembly Language Program to exchange the nibbles of 8-bit number stored in memory location 4500H. Store the result at memory location 4501H.


Write an Assembly Language Program to multiply an 8-bit number stored at 4301H by another 8- bit number stored at 4302H. Store the result at the location 4303H and 4304H beginning with a LOB. (Lower Order Byte)


Write an Assembly Language Program to count the occurrence of the data byte ACH in a memory Nock stored from 7401H to 7405H. Store the count at the memory location 7406H.


Given any two instructions of following addressing mode:
Immediate


Study the following program and answer the questions given below :

Label Mnemonics /Operand
BACK LXIH,COOOH
MOVC,M
INXH
MOVA,M
XRAA
MOV M,A
DCR C
JNZBACK
HLT

i) Write the purpose of the program.
ii) Write comments for the instructions used in the program.
iii) If the input data at memory location COOO H is 05 H, then write the result along with corresponding memory locations.


A block of data is stored in memory locations starting from 3001 H. The length of the block is at 3000 H. Write an Assembly Language Program that searches for the first occurrence of data AO H in given block. Store the address of this occurrence in H-L pair. If the number is not fou nd then H-L pair should contain 0000 H.


Share
Notifications



      Forgot password?
Use app×