Write a program (WAP) using assembly language to perform 1’s complement a 8-bit number. First save the data in the memory, fetch it for complement and store the result in memory.
WAP to: a) Fetch a number form memory b) perform 2’s complement and c) Store the result in the memory.
Perform 1’s complement of a 16 bit number using assembly language.
WAP using assembly language to add two 8 bit numbers. Store the result in the memory. Ignore the carry.
Use two 8 bit numbers stored in the memory and perform subtraction using assembly language. Store the result in memory.
WAP using assembly language to add two 8-bit decimal numbers.
Perform following: a) Save two 16 bit numbers in the memory b) Fetch these numbers and perform addition operation c) Store the result in the memory. Ignore carry.
Perform addition of two 16 bit numbers and save the carry information.
WAP to add series of 8-bit numbers saved in memory. Ignore carry.
Add series of 8-bit numbers using assembly language. Save carry information. Fetch data and save the result in memory.
WAP to separate digits of a 8-bit hexadecimal number.
Combine two hex nibbles to form one byte number using assembly language.
Write a program to :
a) Check a hex number stored in location 2010 for odd or even parity.
b) If the parity is odd, 00 will be stored in location 2011. Otherwise EE will be stored in 2011.
WAP to multiply a hex number stored in memory location 200A with 2. And store the result in memory location 200B. Use bit rotation for the same.
Display a flashing string ‘ABCDEF’ in address and data field of 7 segment display on trainer kit. Take flashing rate = 0.5 sec.
Perform bubble sort using assembly language. Make suitable assumptions.
Multiply two 8-bit numbers (02H and 03H) stored at memory location (2100H and 2102H).
WAP to divide two 8-bit numbers using assembly language.
Find the largest value from a block of data and store the result at a memory location.
Arrange a data block in descending order using a program. Store the result in the memory.
WAP to display counter value (counter = 1 to 5) after delay of 1 sec.
Write a program for following:
a) XOR Accumulator with Accumulator
b) Check status of Zero flag (Use register B)
Write a program to find a number in a series of data. Also check how many times it is being repeated in series. Use appropriate registers to display the result.
WAP to remove the blank bytes from block of data stored at 2061-70H.
Write a program for following:
a) Write into a stack.
b) Read from a stack