Tag Archives: input

What will be the values of select inputs, carry-in input and result of operation if the following micro-operations are performed? – IGNOU MCA Assignment 2014 – 15

MASTER OF COMPUTER APPLICATIONS Course Code : MCS-012 Course Title : Computer Organisation and Assembly Language Programming Assignment Number : MCA (2)/012/Assign /2014-15 Maximum Marks : 100 Weightage : 25% Assume that you have a machine as shown in section 3.2.2 of Block 3 having the micro-operations as given in Figure 10 on page 62… Read More »

Explain how overlapped register window can be implemented for procedure calls. Explain the process of parameter passing for the subroutine call on this machine? – IGNOU MCA Assignment 2014 – 15

MASTER OF COMPUTER APPLICATIONS Course Code : MCS-012 Course Title : Computer Organisation and Assembly Language Programming Assignment Number : MCA (2)/012/Assign /2014-15 Maximum Marks : 100 Weightage : 25% Assume that a RISC machine has 64 registers out of which 16 registers are reserved for the Global variables. This machine has been designed to… 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 C program to add two fractions & print resultant fraction – IGNOU MCA Assignment 2014 – 15

MASTER OF COMPUTER APPLICATIONS Course Code : MCS-011 Course Title : Problem Solving and Programming Assignment Number : MCA(1)/011/Assign/2014-15 Maximum Marks : 100 Weightage : 25%   Write a C program to add two fractions and display the resultant fraction. The program should prompt the user to input Fraction-One and Fraction-Two. The numerator and denominator of each fraction‟s are… Read More »

A C program to print Values in forward and reversed order – IGNOU MCA Assignment 2014 – 15

 MASTER OF COMPUTER APPLICATIONS Course Code: MCS-011 Course Title : Problem Solving and Programming Assignment Number : MCA(1)/011/Assign/2014-15 Maximum Marks : 100 Weightage : 25%   Write an algorithm, draw a corresponding flowchart and write an interactive C program to prompt the user to input 3 integer values and print these values in forward and… Read More »

An Assembly Lanuage Program, which takes two inputs as strings and display the Concatenated string.

Now we will write another Assembly Lanuage Program, which takes two inputs as strings and display the Concatenated string. Let’s identify variables needed for this program. First variables will be the one which will hold the Strings entered by user in the variables P1 LABEL BYTE    M1 DB 0FFH    L1 DB ?    P11 DB 0FFH DUP (‘$’),… 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 »

A Procedure in Assembly Language receives one value in AL returns sign bit – 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 simple near procedure in 8086 assembly language that receives one parameter value in AL register from the main module and returns sign bit of the input parameter. Make suitable assumptions,… Read More »

ASSEMBLY18 An Assembly program to read in decimal inputs repeatedly untill a zero value is read, At this point it should print out the sum of the numbers read in so far

Now we will write another Assembly program to read  in decimal inputs repeatedly untill a zero value is read, At this point it should print out the sum of the numbers read in so far. Let’s identify variables needed for this program. First variables will be holding the Messages “ENTER NO.BETN (0-9) & (ENTER ZERO TO STOP) ” and “TOTAL SUM… Read More »

C013 A C program that will take as input a set of integers and find and display the largest and the smallest values within the input data values

Let’s identify variables needed for this program. In this program, we need several variables to store and compare the values to find the largest and the smallest out of them. Its not recommended to take number of variables declared of the same data type with different names and remembering it. It becomes worst when the… Read More »