Bcsl-022 s1, s2, s3, s4 2012 December
Bcsl-022 s1, s2, s3, s4 2012 December
Note :
Maximum Marks : 50
(i) There are two compulsory questions in this paper of 20 marks each. Rest
10 marks are for viva-voce.
(ii) Use any assembler or emulator to run assembly programs.
1.
Write and run a program using 8086 assembly language that converts an ASCII digit 20
stored in memory location to equivalent binary in AL register. For example, if memory
has the ASCII digit '5' it should be in AL register as 00000101.
2.
Write a program using 8086 assembly language that counts the length of a string stored 20
in consecutive memory location $ should be assumed as string termination character.
BCSL-022/S-1
SET - 2
Maximum Marks : 50
(i) There are two compulsory questions in this paper of 20 marks each. Rest
10 marks are for viva-voce.
(ii) Use any assembler or emulator to run the programs.
1.
Write and run a program using 8086 assembly language that interchanges the values. 20
Stored in two different memory locations.
2.
Write and run a program using 8086 assembly language that finds the total of marks of 20
5 students stored in five consecutive memory locations.
BCSL-022/S-2
SET-3
Note :
(i) There are two compulsory questions in this paper of 20 marks each. Rest
10 marks are for viva-voce.
(ii) Use any assembler or emulator to run your programs.
1.
Write and run a program using 8086 assembly language to find the smaller of two 20
values stored in two different memory locations.
2.
Write and run a program using 8086 assembly language to multiply three numbers. 20
The numbers may be assumed to be in three consecutive memory locations. The result
should be stored in a register. All the numbers should be less than 100.
BCSL-022/S-3
LSET -4
Note :
1.
Maximum Marks : 50
(i) There are two compulsory questions in this paper of 20 marks each. Rest
10 marks are for viva-voce.
(ii) Use any assembler or emulator to run your programs.
Write and run a program using 8086 assembly language that calculates the tax due for 20
a person. You may assume that the annual salary of the person is stored in a memory
location. You may also assume a flat 30% tax rate.
2.
Write and run a program using 8086 assembly language that finds the smallest of four 20
given values. The values are stored in four consecutive locations of memory.
BCSL-022/S-4