|
III B.E. (Computer Engg.) VII SEMESTER 7CP9MICROPROCESSOR
LAB -II |
|
1. Write a program to produce a packed BCD byte from our ASCII encoded digits.
2. Write a program to add interest on the amounts deposited in a bank. The amount is stores as an array. The computed amount should be stores in another array. An amount above 4000 is entitled for 8% interest ad remaining are for 4%.
3. Write a program, which inputs a password and should an alarm if the password is incorrect.
4. Compute the transmission message if the original message and generator polynomial is given. Use CRC-12 as a generator. (Note:- Refer to computer Networks by Tonenbaum).
5. Write a program to compute factorial of a single digit. Write a program to convert BCD numbers to binary, Hax and Octal.
6. Use registers to pass parameters to the procedure.
7. Use memory locations to pass parameters to the procedure.
8. Use pointers to pass parameters to the procedure.
9. Use stack to pass parameters to the procedure.
10. Write a program which uses macro for addition of corresponding elements of2 array.
Recommended Platform: 8086 Kits, PC with Turbo assembly and on turbo dabuggen.
|