mpi lab paper

3
1 a) Write ALP to ADD two 16-bit Numbers using Immediate Addressing Mode (MASM) b) Write ALP to find the sum of the SQURE of 5 Numbers 2 a) Write ALP to ADD two 8-bit Number using Direct Addressing Mode b) Write ALP to perform ASCII Addition 3 a) Write ALP to perform MULTIBYTE Addition b) Write ALP to SUBTRACT two 16-bit Numbers using Direct Addressing Mode 4 a) Write ALP to Perform ASCII Subtraction b) Write ALP to MULTIPICATION of two 16-bit Numbers using Direct Addressing Mode 5 a) Write ALP to perform ASCII Multiplication b) Write ALP to DIVISION of two 16-bit Numbers using Immediate Addressing Mode(MASM) 6 a) Write ALP to ADD two 16-bit Numbers using Direct Addressing Mode b) Write ALP to find the SQUARE ROOT of given number

Upload: molugu-kumaraswamy

Post on 26-Dec-2014

145 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: MPI LAB Paper

1 a) Write ALP to ADD two 16-bit Numbers using Immediate Addressing Mode (MASM) b) Write ALP to find the sum of the SQURE of 5 Numbers

2 a) Write ALP to ADD two 8-bit Number using Direct Addressing Mode b) Write ALP to perform ASCII Addition

3 a) Write ALP to perform MULTIBYTE Addition b) Write ALP to SUBTRACT two 16-bit Numbers using Direct Addressing Mode

4 a) Write ALP to Perform ASCII Subtraction b) Write ALP to MULTIPICATION of two 16-bit Numbers using Direct Addressing Mode

5 a) Write ALP to perform ASCII Multiplicationb) Write ALP to DIVISION of two 16-bit Numbers using Immediate Addressing Mode(MASM)

6 a) Write ALP to ADD two 16-bit Numbers using Direct Addressing Mode b) Write ALP to find the SQUARE ROOT of given number

7 a) write ALP to convert packed BCD to unpacked BCD b) Write ALP to complement of a given byte. (MASM)

8a) Write ALP to find the FACTRIAL of given number b) Write ALP to sub two 8 bit numbers using direct addressing mode

Page 2: MPI LAB Paper

9 a) Write ALP to perform addition using Direct Addressing Mode with following numbers 2345h,5799hb) Write ALP to perform ASCII Division

10 a) Write a program to find the Even number (or) ODD number (MASM)

b) Write a ALP to multiply the two 8 bit numbers using Direct addressing mode

11 a) write a ALP to find given number is POSITIVE (or) NEGATIVE Number(MASM) b) Write a ALP to multiply the two16 bit numbers using Direct addressing Mode

12 a) Write ALP to DOUBLE the given byte(MASM) b) Write a ALP to ADDTION of the two16 bit numbers using Direct addressing mode

13 a) Write ALP to find the average of two Numbers. (MASM) b) Write ALP to ADDTION of the two16 bit numbers using direct addressing mode

14 a) write a program to sum of CUBES. b) Write ALP to ADDTION of the two32 bit numbers using immediate addressing mode(MASM)

15 a) Write ALP to find average of two numbers b) Write ALP to Subtract the two 32- bit numbers using Immediate addressing mode

Page 3: MPI LAB Paper