Write a program in 8086 assembly Language (with proper comments) that passes a parameter containing a lower case alphabet to a near procedure named TOUPCASE, which converts the lowercase alphabet to upper case and returns it to the calling assembly program – IGNOU MCA Assignment 2016 – 17

MASTER OF COMPUTER APPLICATIONS Course Code : MCSL-012 Course Title : Computer Organisation and Assembly Language Programming Assignment Number : MCA(1)/012/Assignment/16-17 Maximum Marks : 50 Weightage : 25%   Write a program in 8086 assembly Language (with proper comments) that passes a parameter containing a lower case alphabet to a near procedure named TOUPCASE, which… Read More »

Write a program in 8086 assembly Language that accepts a string of four characters entered using the keyboard and checks if all the entered characters are decimal digits. In case all the characters are decimal digits then it converts the entered string into equivalent binary number. – IGNOU MCA Assignment 2016 – 17

MASTER OF COMPUTER APPLICATIONS Course Code : MCSL-012 Course Title : Computer Organisation and Assembly Language Programming Assignment Number : MCA(1)/012/Assignment/16-17 Maximum Marks : 50 Weightage : 25%   Write a program in 8086 assembly Language that accepts a string of four characters entered using the keyboard and checks if all the entered characters are… Read More »

Write and run an 8086 assembly language program displays a string stored in memory – IGNOU BCA Assignment 2016 – 17

BACHELOR OF COMPUTER APPLICATIONS Course Code : BCSL-022 Course Title : Assembly Language Programming Lab Assignment Number : BCA(2)/L-022/Assignment/16-17 Maximum Marks : 50 Weightage : 25%   Write and run an 8086 assembly language program displays a string stored in memory. You must use appropriate interrupt for the same – IGNOU MCA Assignment 2016 –… Read More »

An assembly program that converts 2 ASCII digits stored in two registers (say BH and BL) into an equivalent binary number – IGNOU BCA Assignment 2016 – 17

BACHELOR OF COMPUTER APPLICATIONS Course Code : BCSL-022 Course Title : Assembly Language Programming Lab Assignment Number : BCA(2)/L-022/Assignment/16-17 Maximum Marks : 50 Weightage : 25%   Write and run (using appropriate calling program) a near procedure in 8086 assembly language that converts 2 ASCII digits stored in two registers (say BH and BL) into… Read More »

Write and run an Assembly language program that converts lowercase alphabets in a given input string to uppercase – IGNOU MCA Assignment 2016 – 17

BACHELOR OF COMPUTER APPLICATIONS Course Code : BCSL-022 Course Title : Assembly Language Programming Lab Assignment Number : BCA(2)/L-022/Assignment/16-17 Maximum Marks : 50 Weightage : 25% Write and run an Assembly language program that converts lowercase alphabets in a given input string to uppercase. The input may consist of uppercase alphabets, special characters and lowercase… Read More »

Write a program in assembly language for finding the largest number in an array of 10 elements – IGNOU MCA Assignment 2016 – 17

MASTER OF COMPUTER APPLICATIONS Course Code : MCSL-017 Course Title : C and Assembly Language Programming (Lab Course) Assignment Number : MCA(1)/L-017/Assignment/16-17 Maximum Marks : 50 Weightage : 25%   Write a program in assembly language for finding the largest number in an array of 10 elements - IGNOU MCA Assignment 2016 – 17 Code:- DATA… Read More »

Write a program in assembly language for reversing a four byte string – IGNOU MCA Assignment 2016 – 17

MASTER OF COMPUTER APPLICATIONS Course Code : MCSL-017 Course Title : C and Assembly Language Programming (Lab Course) Assignment Number : MCA(1)/L-017/Assignment/16-17 Maximum Marks : 50 Weightage : 25%   Write a program in assembly language for reversing a four byte string - IGNOU MCA Assignment 2016 – 17 Code:-  DATA SEGMENT STR1 DB “RITU$” STR2… Read More »

Write a program in assembly language to find the factorial of any number (assume number is smaller than 10) – IGNOU MCA Assignment 2016 – 17

MASTER OF COMPUTER APPLICATIONS Course Code : MCSL-017 Course Title : C and Assembly Language Programming (Lab Course) Assignment Number : MCA(1)/L-017/Assignment/16-17 Maximum Marks : 50 Weightage : 25%   Write a program in assembly language to find the factorial of any number (assume number is smaller than 10) - IGNOU MCA Assignment 2016 – 17… Read More »

Write a program in assembly language to find if two given strings are of equal length – IGNOU MCA Assignment 2016 – 17

MASTER OF COMPUTER APPLICATIONS Course Code : MCSL-017 Course Title : C and Assembly Language Programming (Lab Course) Assignment Number : MCA(1)/L-017/Assignment/16-17 Maximum Marks : 50 Weightage : 25%   Write a program in assembly language to find if two given strings are of equal length - IGNOU MCA Assignment 2016 – 17   Code:- DATA… Read More »

Write a macro to demonstrate #define, #if, #else preprocessor commands. 6m Jun 2010

Write a macro to demonstrate #define, #if, #else preprocessor commands. 6    Code: #include <stdio.h> #define CHOICE 100 int my_int = 0; #if (CHOICE == 100) void set_my_int() { my_int = 35; } #else void set_my_int() { my_int = 27; } #endif main () { set_my_int(); clrscr(); printf(“%d\n”, my_int); getch(); } Screen Shots: