EE 315: Microprocessor Laboratory

 

Kit Familiarization experiments (S/W 3)

 


 

14.Use the monitor utility routines to make a flashing display of today's date. The display should be ON for 0.5sec and OFF for 0.5sec (approximately).

 

15.  Write a program to display the following register contents in the fields mentioned .

Flag Register - Data Field

A byte indicating the status(masked/unmasked) of various interrupts in 8085 - Data Field

Stack Pointer - Address Field

Program Counter - Address Field

 

16.  Display the characters (using OUTMSG) corresponding to the codes 00H – FFH. Each code should be displayed for about 2 seconds along with the character.

 

17.  Write a program to display a running message that moves from the right to left in the display field.

 

18.  Write a program to multiply two 8-bit unsigned numbers using the shift and add algorithm. Use accumulator for the multiplier, E register for the multiplicand, B register for the counter (8) and register pairs DE and HL. Use DAD instruction. Register pair HL will store the product. 

 

19.  Write a program to divide an unsigned 16-bit number by an unsigned 8-bit number. The MSB of both the numbers are zero. Assume that the quotient will be 8 bits and the quotient & remainder can be accommodated in register pair HL. What condition on the divisor and dividend will allow you to make this assumption? Use HL for the dividend, C for the divisor and B for the counter.