PLEASE MATCH YOUR ASSIGNMENT QUESTIONS ACCORDING TO YOUR SESSION
IGNOU BCSL-22 (July 2024 – January 2025) Assignment Questions
Q1. Design a two bit counter circuit that counts from 0 to 2. It should have states 00, 01 and 10. The initial state of the counter may be assumed to be 00. The counter will be in following successive states: 00, 01, 10, 00, 01, 10, 00, 01, 10, 00 … Use J-K flip flop to design the circuit. You must design the circuit using state transition diagram and Karnaugh’s maps.
Q2. Write and run following programs using 8086 assembly language.
(a) Write and run an Assembly language program that converts a packed 4 digit BCD number that has been stored in two consecutive byte locations in the memory, into an equivalent binary number. The output should be stored in DX register. For example, if two consecutive byte locations have BCD values (12)h and (34)h then output will be binary equivalent of (1234)10 which is (0000 0100 1101 0010)2. This binary value will be stored in DX register.
(b) Write and run (using appropriate calling program) a near procedure in 8086 assembly language that checks if the input parameter has a value less than 5. If the value is less than 5 then subroutines displays the line “Parameter value is less than 5” else it displays “Parameter value is >= 5”.
(c) Write and run an 8086 assembly language program that finds the factorial of the value stored in BH register. You may assume that BH register will store a maximum value 8. Thus, you need not handle the overflow.
IGNOU BCSL-22 (July 2023 – January 2024) Assignment Questions
Q1. Design a two bit counter circuit that count from the state 00 to 10 only. The state 11 is ignored. The states of the counter, thus, may be 00, 01, 10, 00, 01, 10… Use J-K flip flop to design the circuit. You must design them using state transition diagram and Karnaugh’s map.
Q2. Perform the following using 8086 assembly language.
(a) Write and run a program using 8086 assembly language that increments a byte value stored in a memory location by a value 2. The result should be stored in the same memory location. For example, if a memory location contains 0101 0001, then the program will add 2 to this value and store the result 0101 0011 (after adding 2) in the same location.
(b) Write and run a program using 8086 assembly language which finds the highest of four byte values stored in memory. The highest value should be left in AL register.
(c) Write and run a program using 8086 assembly language that compares the values. of AL and BL registers. In case AL is more than BL, then program clears BL register otherwise it clears AL register. You can move value ‘1100 1010’ in AL, register and ‘1100 1000’ in BL register, initially.