Description
1. Write an assembly program where the first four digits (1234h) and last four digits (5678h) of a student ID are stored in memory. The task is to multiply these two hexadecimal values Example:
● If your student ID is 12345678, treat 1234 and 5678 as hexadecimal numbers.
● Multiply 1234h with 5678h
2. Initials in Reverse (Uppercase to Lowercase)
● Problem Statement: Write a program to:
1. Prompt the user to enter three initials of a person’s name in uppercase.
2. Read the input.
3. Display the initials in reverse order on separate lines, converting them to lowercase.
Sample input: ENTER THREE INITIALS: ABC
Sample output: c
b a
Form Link – https://forms.gle/eGFdBEGGbEE3AByHA
SET – B
1. Write an assembly program where your entire student ID (12345678) is stored in memory as a hexadecimal number. The task is to divide this value by FFFFh and find out both the quotient and remainder in hexadecimal.
● store your student ID (12345678) as a hexadecimal number in memory.
● divide it by FFFFh.
● Find out the quotient and remainder.
2. Initials in Reverse Order (Lowercase to Uppercase):
● Problem Statement: Write a program to:
1. Prompt the user to enter three initials of a person’s name in lowercase.
2. Read the input.
3. Display the initials in the reverse order on separate lines, converting them to uppercase.
Sample input: ENTER THREE INITIALS: abc
Sample output: C
B
A
Form Link – https://forms.gle/eGFdBEGGbEE3AByHA
Reviews
There are no reviews yet.