PDP 11 ASSEMBLY LANGUAGE PROGRAMS

Download PDP 11 Assembler


1. Write an ALP that initializes an NxN array so that array arr[i,j]=i+j ,array elements can be stored by rows
2. Write an ALP to reverse the order of the given string.Use auto increment and autodecrement modes.
3. Write a program to implement a macro to do binary to decimal conversion
4. Write a subroutine using general stack calling sequence to convert binary to octal
5. Write a sorting procedure using bubble sort
6. Design and implement the procedure search ,getval ,storeval for a simple unordered linear table
7. Write a PDP 11 ALP to swap the contents of two memory locations.Use a subroutine for swapping.Pass parameters to     the subroutine by inline calling sequence method
8. Write a PDP 11 ALP to reverse the bits of a memory location and store the result in another memory location
9. Write a PDP 11 ALP to count the number of words that start with a specific character in a given string
10. Write a PDP 11 ALP to search for a substring in a given string

[codeeverywhere]