0% found this document useful (0 votes)
164 views

Assignment

The document contains a question bank with various questions asking to write assembly language programs (ALPs) to perform different tasks related to data transfer, arithmetic operations, logic operations, string operations, file operations, and date/time operations using 8-bit, 16-bit and 32-bit numbers. There are a total of 8 sections with multiple questions in each section covering topics such as data transfer with and without overlap, arithmetic operations, logic checks, sorting, string operations, file input/output, and reading/setting system date and time.
Copyright
© Attribution Non-Commercial (BY-NC)
Available Formats
Download as DOC, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
164 views

Assignment

The document contains a question bank with various questions asking to write assembly language programs (ALPs) to perform different tasks related to data transfer, arithmetic operations, logic operations, string operations, file operations, and date/time operations using 8-bit, 16-bit and 32-bit numbers. There are a total of 8 sections with multiple questions in each section covering topics such as data transfer with and without overlap, arithmetic operations, logic checks, sorting, string operations, file input/output, and reading/setting system date and time.
Copyright
© Attribution Non-Commercial (BY-NC)
Available Formats
Download as DOC, PDF, TXT or read online on Scribd
You are on page 1/ 1

QUESTION BANK

1A) Write an ALP to show the byte and word transfers in different addressing modes.
1B) Write an ALP to transfer a given block of data word from source memory to
Destination memory without overlap.
1C) Write an ALP to transfer a given block of data word from source memory to
destination memory with overlap.
1D) Write an ALP to interchange two blocks of data.
2A) Write an ALP to add / subtract two16 bit numbers.
2B) Write an ALP to add / subtract two32 bit numbers.
2C) Write an ALP to add / subtract two32 bit numbers using DD Directive.
2D) Write an ALP to multiply two 16 bit unsigned / signed numbers and display.
2E) Write an ALP to divide two 8 bit numbers (signed and unsigned)
2F). Write an ALP to divide two 16 bit numbers(signed and unsigned)
3A)Write an ALP to to add/substract/ multiply/divide two ASCII numbers.
3B) Write an ALP to convert 16 bit binary No to BCD.
3C) Write an ALP to convert BCD No to binary.
3D) Write an ALP to find square and cube of an 8 bit number .
3E) Write an ALP to find LCM of a 16 bit No.
3F) Write an ALP to find the GCD of two 16 bit unsigned integers.
3G) Write an ALP to find the factorial of an 8 bit number.
4A) Write an ALP to check if the number is positive or negative.
4B) Write an ALP to check if the given number is even or odd.
4C) Write an ALP to check number of ones and zeroes n the given data.
4D) Write an ALP to check if the given byte is 2 out of 5 code or not (i.e., the code is
first 3 MSB must be 0 and the last 5 LSB should have two 1s).
4E) Write and Alp to check if the given 16 bit data is a palindrome (bitwise).
4F. Write and Alp to check if the given 16 bit data is a palindrome (nibble-wise).
5A) Write an Alp to add / substract ‘N’ 16 bit numbers and display the result.
5B)Write an ALP to find the largest of ‘N’ 16 bit numbers and display the result.
5C) Write an ALP to find the smallest of ‘N’ 16 bit numbers and display the result.
5D) Write an ALP to sort the given set of 16 bit unsigned integers in ascending order
using bubble sort algorithm.
6A) Write an ALP to transfer a given source string to destination using string
instructions.
6B) Write an ALP to reverse a string.
6C) Write an ALP to search for a character in a string.
6D) Write an ALP to check if the given string is a palindrome or not.
7A) Write an ALP to read a character from a keyboard with and without echo.
7B) Write an ALP to read a string of characters from the keyboard and display.
7C) Write an ALP to create a new file.
7D) Write an ALP to read the contents of a file.
7E) Write an ALP to write a new file.
8A) Write an ALP to read the system date.
8B)Write an ALP to set the system date.
8C) Write an ALP to read the system time.
8D) Write an ALP to set the system time.

You might also like