Tag Archives: digit

A procedure in Assembly Language program that receives Alphabet ‘Z’ returns 1 or 0 – IGNOU MCA Assignment 2015-16

 MASTER OF COMPUTER APPLICATIONS Course Code : MCS-012 Course Title : Computer Organisation and Assembly Language Programming Assignment Number : MCA(1)/012/Assign/2015-16 Maximum Marks : 100 Weightage : 25%   Write a simple near procedure in 8086 assembly language that receives an ASCII digit as parameter. It returns 1 if the ASCII digit is ‘Z’ else… Read More »

An Assembly language program convert 2 digit ASCII to binary – IGNOU MCA Assignment 2014 – 15

BACHELOR OF COMPUTER APPLICATIONS Course Code : BCSL-022 Course Title : Assembly Language Programming Lab Assignment Number : BCA(II)/BCSL022/Assign/14-15 Maximum Marks : 50 Weightage : 25%   Write and run an assembly language program that accepts a two digit input from the keyboard, and convert this two digit ASCII to equivalent binary value. The output… Read More »

A procedure in Assembly Language to convert two unpacked BCD to packed BCD – IGNOU MCA Assignment 2014-15

BACHELOR OF COMPUTER APPLICATIONS Course Code : BCSL-022 Course Title : Assembly Language Programming Lab Assignment Number : BCA(II)/BCSL022/Assign/14-15 Maximum Marks : 50 Weightage : 25%   Write and run (using appropriate calling program) a near procedure in assembly language that converts two unpacked BCD digits to a packed BCD digit. Both the unpacked BCD… Read More »

An Assembly Language program to convert a packed BCD into ASCII digits – IGNOU MCA Assignment 2014 – 15

 MASTER OF COMPUTER APPLICATIONS Course Code : MCS-012 Course Title : Computer Organisation and Assembly Language Programming Assignment Number : MCA(1)/012/Assign/2014-15 Maximum Marks : 100 Weightage : 25%   Write a program in 8086 assembly language to convert a four digit packed BCD number into equivalent ASCII digits. The packed BCD number may be assumed… Read More »

Write a recursive program in ‘C’ to find whether a given five digit number is a palindrome or not. 10m Dec2005

Write a recursive program in ‘C’ to find whether a given five digit number is a palindrome or not. 10m Dec2005 #include<stdio.h> int flag=0; void palin(int,int*); void main() { int a; clrscr(); printf(“Enter the number “); scanf(“%d”,&a); palin(a,&a); if(flag==0) printf(“\nThe number is palindrome…”); else printf(“\nThe number is not palindrome…”); getch(); } void palin(int x,int* y)… Read More »

An Assembly program which should convert 4 digits BCD number into its binary equivalent

Now we will write another Assembly which should convert 4 digits BCD number into its binary equivalent. Let’s identify variables needed for this program. First variables will be the one which will hold the value present in the variable BCD to be converted and TEMP will hold the converted Hexadecimal equivalent and then to print its Binary… Read More »

ASSEMBLY28 An Assembly program, which takes the input of 4-digit number, and display the sum of square of digits

Now we will write another Assembly program, which takes the input of  4-digit number, and display the sum of square of digits Let’s identify variables needed for this program. First variables will be the one which will hold the value entered by user in the variables D1, D2, D3, D4 to save 4-Digits separately in 4 variables  and variable SUM will hold sum of… Read More »

An Assembly Language program to convert packed BCD to equivalent binary – IGNOU MCA Assignment 2013

BACHELOR  OF COMPUTER APPLICATIONS Course Code : BCSL-022 Course Title : Assembly Language Programming Lab Assignment Number : BCA(II)/BCSL022/Assign/13   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   DATA SEGMENT      PACKEDBCD… Read More »

A near procedure assembly Language program to convert ASCII to binary – IGNOU MCA Assignment 2013

BACHELOR  OF COMPUTER APPLICATIONS Course Code : BCSL-022 Course Title : Assembly Language Programming Lab Assignment Number : BCA(II)/BCSL022/Assign/13   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… Read More »

A program in Assembly language to convert two unpacked to packed BCD – IGNOU MCA Assignment 2013

MASTER OF COMPUTER APPLICATIONS Course Code : MCS-012 Course Title : Computer Organisation and Assembly Language Programming Assignment Number : MCA(1)/012/Assign/2013 and BCA(II)/012/Assign/2013   Write a program in 8086 assembly language to convert a two digit unpacked BCD number into equivalent ASCII digits and a packed BCD number. The packed BCD number is to be stored in… Read More »