a) DESIGN A WO BIT DOWN COUNTER CIRCUIT THAT COUNTS FROM 3 TO 0. IT SHOULD HAVE STATES 11,10,01 AND 00.THE INITIAL STATE OF THE COUNTER MAY BE ASSUMED O BE 11. THE COUNTER WILL BE IN THE FOLLOWING SUCCESSIVE STATES:11,10,01,00,11,10,01,00,11... USE J-K FLIP FLOP TO DESIGNTHE CIRCUIT. YOU MUST DESIGN THE CIRCUIT USING STATE TRANSITION DIAGRAM AND KARNAUGH'S MAPS.
b) WRITE AND RUN A 8086 ASSEMBLY LANGUAGE PROGRAM THAT CONVERTS A THREE DIGIT ASCII NUMBER STORED IN THREE CONSEUTIVE BYTE LOCATIONS IN THE MEMORY , INTO A BINARY NUMBER .THE OUTPUT SHOULD BE STORED IN DX REGISTER.FOR EXAMPLE,IF THREE CONSECUTIVE BYTE LOCATIONS CONTAIN '345'(PLEASE NOTE THEY ARE THREE ASCII DIGITS ),THEN THE DX SHOULD GET BINARY EQUIVALENT OF DECIMAL NUMBER 543, WHICH IS (0000,0010,0001,1111)2. THIS BINARY VALUE WILL BE STORED IN DX REGISTER.
c) WRITE AND RUN A 8086 ASSEMBLY LANGUAGE PROGRAM THAT FINDS THE SUM OF FIRST N NATURAL NUMBERS.THE VALUE OF N IS INPUT TO THE ASSEMBLY PROGRAM.THE SUM IS STORED IN DX REGISTER.ASSUME THE VALUE OF N BETWEEN 1 TO 10 ONLY.
Answers
Answered by
0
Answer:
asdgjjkkkkkjcgujkkkkvcssghkok
Similar questions