Tag Archives: memory

A two-way set-associative cache memory uses blocks of four words. The cache can accommodate a total of 2048 words from the main memory. The main memory size is 128K x 32. 5m Dec2005

What is cache memory?                                                                                5m Dec2005 A two-way set-associative cache memory uses blocks of four words. The cache can accommodate a total of 2048 words from the main memory. The main memory size is 128K x 32. What are the sizes of the following?      TAG      INDEX      Data    … Read More »

Write and explain the sequence of micro-operations that are required to fetch and execute this instruction? – 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% A hypothetical 16 bit machine has PC, AC, MAR, IR, DR and Flag registers (You may assume the roles of these registers same as that… Read More »

Assume that a new machine has been developed. Give justification of the selection of every addressing mode? – 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 new machine has been developed. This machine has 64 general purpose registers of 64 bits each. Out of these 64 registers, 32… Read More »

A computer has 512 words RAM with a word size of 32 bits and a cache memory of 8 Blocks with block size of 64 bits – 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% A computer has 512 words RAM with a word size of 32 bits and a cache memory of 8 Blocks with block size of 64… 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 »

An Assembly Language program to reverse a string in memory and displayed – 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 reverses a string. You may assume that the string is available in the memory and is 6 byte long. The reversed string should be stored in separate memory… Read More »

An Assembly program to check if two strings are reverse of each other – IGNOU MCA Assignment 2013

MASTER OF COMPUTER APPLICATIONS Course Code : MCSL-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 (with proper comments) to find if the two given strings of length 5 are reverse of each other. You may assume that both the strings are… Read More »

ASSEMBLY10 An Assembly program to calculate the average of three given numbers stored in memory

Now we will write another Assembly program to calculate the average of three given numbers stored in memory. Let’s identify variables needed for this program. First variables will be the one which will hold the values present in the variables to be Added and it will be NUM1, NUM2 and NUM3. Other variables will be holding… Read More »

ASSEMBLY05 An Assembly program to find the sum of two BCD numbers stored in memory

Now we will write another Assembly program to find the sum of two BCD numbers stored in memory. Let’s identify variables needed for this program. First variables will be the one which will hold the values present in the variables to be Added and it will be NUM1 and NUM2. Other variables will be holding the… Read More »

ASSEMBLY04 An Assembly program to exchange two memory variables using XCHG instruction

Now we will write another Assembly program which does some Exchange Operation. Before actually starting to write the program, Let’s understand XCHG instruction. As we know the programs work only with the instructions in the instruction set. Instruction XCHG is used to EXCHANGE memory variables in the following permutations above. REG stands for Registers (Eg.  AX, BX, CX,… Read More »