Programme Code : BCA
Course Code : BCSL-022
| More

Year : 2014 Views: 764 Submitted By : Harsh verma On 21st April, 2014

Do you have solution for this Question. If yes    I aslo want solution.

Q.


1) Design a two bit counter circuit that counts at an increment of two with the starting count of 00. The states of the counter, thus, may be 00, 10, 00, 10… Use J-K flip flop to design the circuit. You must design them using state transition diagram and Karnaugh's map. (10 Marks)



2) Write and run the following programs using 8086 assembly language. (30 Marks)





(a) Write and run an Assembly language program that reverses a string. You may assume that the string is available in the memory and is 6 byte long. The reversed string should be stored in separate memory locations and should be displayed.



(b) Write and run (using appropriate calling program) a near procedure in assembly language that converts an 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 an assembly language program that converts a packed two digit BCD number in AL register to equivalent binary number. The binary number is stored in the AH register.


No Answer Found