Tag Archives: two

An Assembly Language program two subroutines encrypting and decrypting – IGNOU MCA Assignment 2013

MASTER OF COMPUTER APPLICATIONS Course Code : MCSL-017 Course Title : C and Assembly Language Programming Assignment Number : MCA(1)/L017/Assign/2013    Write a Program in assembly language that has two subroutines: One for encrypting alphabets of a string and second for decrypting the encoded string. In Encryption, simply convert a character /number into its predefined numerical/character… 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 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 »

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 »

ASSEMBLY19 An Assembly program to find the LCM Least Common Multiplier of two 16-bit unsigned integers

Now we will write another Assembly program to find the LCM Least Common Multiplier of two 16-bit unsigned integers. The above Logic is a C like Program to Find LCM we need its GCD or HCF first beacuse there is small Formula Shown above in a very simple way, So Just we will covert the logic into Assembly There… Read More »

ASSEMBLY20 An Assembly program to find the HCF Highest Common Factor (GCD Greatest Common Divisor) of two 16-bit unsigned integers

Now we will write another Assembly program to find the HCF Highest Common Factor (GCD Greatest Common Divisor) of two 16-bit unsigned integers. The above Logic is a C like Program to Find GCD or HCF in a very simple way, So Just we will covert the logic into Assembly There are many things uncommon in the… Read More »

ASSEMBLY09 An Assembly program to read in two decimal inputs and print out the smaller of the two, in decimal

Now we will write another Assembly program to read  two decimal inputs and print out the smaller of the two, in decimal 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 and Other variables will be holding… Read More »

ASSEMBLY08 An Assembly program to read in two decimal inputs and print out their sum, in decimal

Now we will write another Assembly program to read  two decimal inputs and print out their sum, in decimal 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 variable will be holding the Output or Result… Read More »

ASSEMBLY06 An Assembly program to read two decimal numbers, then multiply them together and finally print out the result (in decimal )

Now we will write another Assembly program to read  two decimal numbers, then multiply them together and finally print out the result (in decimal ) 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 Multiplied and it will be NUM1 and… 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 »