CS - Ii Practical Set
CS - Ii Practical Set
SET 1
a) Write the program that subtracts the number stored in C030 H from the number stored in C031 H.
Store the absolute difference in memory location C032 H as result. [20]
c) Execute the program for a positive as well as a negative difference. Write the contents of data
memory locations before and after execution as well as the content of the registers used in the
program after execution and also write the bit contents of all five flags individually. Verify the
results. [05]
d) Journal and Viva [20]
SET 2
a) Write a program that multiplies two 1-byte hex numbers stored in consecutive memory locations
starting from C030 H.Store the two – byte result in consecutive memory locations starting
from C032 H beginning with lower byte. [20]
c) Execute the program for a positive as well as a negative difference. Write the contents of data
memory locations before and after execution as well as the content of the registers used in the
program after execution and also write the bit contents of all five flags individually. Verify the
results. [05]
d) Journal and Viva [20]
SET 3
a) A block of data is stored in memory locations from C080 H to C08B H. Write a program to transfer
the data in reverse order to memory location starting from C180 H. [20]
c) Execute the program for a positive as well as a negative difference. Write the contents of data
memory locations before and after execution as well as the content of the registers used in the
program after execution and also write the bit contents of all five flags individually. Verify the
results. [05]
d) Journal and Viva [20]
MAHARASHTRA STATE BOARD OF SECONDARY & HIGHER SECONDARY EDUCATION, PUNE
SET 4
a) A block of data stored in memory locations from C060 H to C06A H. Another block of data
having same length is stored in memory location starting from C100 H. Write a program to
exchange the content of these two blocks [20]
c) Execute the program for a positive as well as a negative difference. Write the contents of data
memory locations before and after execution as well as the content of the registers used in the
program after execution and also write the bit contents of all five flags individually. Verify the
results. [05]
d) Journal and Viva [20]
SET 5
a) A block of data is stored in memory locations from C030 H to C03A H. Write a program to find the
smallest as well as greatest number from this block using linear search. Store the results immediately
after the end of the block. [20]
b) Enter the program in the microprocessor kit. [05]
c) Execute the program for a positive as well as a negative difference. Write the contents of data
memory locations before and after execution as well as the content of the registers used in the
program after execution and also write the bit contents of all five flags individually. Verify the
results. [05]
d) Journal and Viva [20]