BCSL-022 Assembly Language Programming Lab
Solved Assignment 2020-2021
Course Code : BCSL-022
Course Title : Assembly Language Programming Lab
Assignment Number : BCA(2)/BCSL022/Assign/2020-21
Maximum Marks : 50
Weightage : 25%
Last Dates for Submission : 31st October, 2020 (For July, 2020 Session)
: 15th April, 2021 (For January, 2021 Session)
Title Name | BCSL-022 Solved Assignment 2020-2021 |
University | IGNOU |
Service Type | Solved Assignment (Soft copy/PDF) |
Course | BACHELOR OF COMPUTER APPLICATIONS(BCA) |
Language | ENGLISH |
Semester | BCA(Revised Syllabus)/ASSIGN/SEMESTER-II |
Session | 2020-2021 |
Short Name | BCSL-022 |
Assignment Code | BCA(2)/BCSL022/Assign/2020-21 |
Product | Assignment of BCA 2020 (IGNOU) |
Price | Rs. 30 |
Last Date of Submission | 31st October, 2020 (for July, 2020 session) 15th April, 2021(for January, 2021 session) |
Q1: (10 Marks)
Design a two 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 to be 11. The counter will be in
following successive states: 11, 10, 01, 00, 11, 10, 01, 00, 11,… Use J-K flip flop to design the
circuit. You must design the circuit using state transition diagram and Karnaugh’s maps.
Q2: (3*10 = 30 Marks)
Write and run following programs using 8086 assembly language.
(a) Write and run a 8086 Assembly language program that converts a three digit ASCII number
stored in three consecutive 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.
(b) Write and run (using appropriate calling program) a near procedure in 8086 assembly
language, which is passed a single parameter by the calling program. The procedure checks
if the input parameter has a value zero or not. If the value of input parameter is zero then
procedure/program is terminated, otherwise a value of 1 is returned to the calling program,
which then continue to execute the remaining program. Make and state suitable assumptions,
if any.
(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 and 10 only.
BCSL 022, BCS022 , BCSL-022 , BCSL-22 , BCSL22 , BCSL 22
Reviews
There are no reviews yet.