Answer the following question
1) Design two bit counter circuit which counts at the increment of two with starting count of 00. States of the counter, therefore, might be 00, 10, 00, 10… Use J-K flip flop to design circuit. You should design them using state transition diagram and Karnaugh's map.
2) Write and run following programs using 8086 assembly language.
(a) Write and run the Assembly language program which reverses a string. You might suppose that string is available in memory and is 6 byte long. The reversed string must be stored in separate memory locations and must be displayed.
(b) Write and run (using suitable calling program) a near procedure in assembly language which converts the ASCII digit passed to it on AL register to equivalent binary value. The value is returned back on the AL register itself.
(c) Write and run the assembly language program which converts the packed two digit BCD number in AL register to equivalent binary number. The binary number is stored in the AH register.