1.

Write pgm to multiply two 8 bit no. In memory location ox508and ox509 and store the result in 0x50A and ox50BReply fast​

Answer»

Algorithm –

We are TAKING ADDING the number 43 SEVEN(7) times in this example.

As the multiplication of two 8 BIT numbers can be MAXIMUM of 16 bits so we need register pair to store the result.

Program –



Discussion

No Comment Found

Related InterviewSolutions