Assembly Language
Budget: $10 – $11 USD
I need you to develop some software for me. I would like this software to be developed . 1. Write an Intel 8085 assembly program to find the largest of N numbers stored in memory using the algorithm below. Hand trace (execute) the program showing the changes made to all affected registers and memory locations.
Max = a(1)
For i = n to N
If max < a(i) then max = a(i)
Next i
2.Write an Intel 8085 assembly language program that counts the number of 1s in a binary number stored in the accumulator. Use the algorithm below. Hand assemble (produce hexadecimal code using code tables) the code for the first 10 lines of the program.
Tally = 0;
For i = 1 to 8
Shift accumulator once to the right
If carry = 1 then increment ONES
Next i
3.Use an algorithm similar to one in Question 2 to find the parity (odd/even) of a binary number stored in the accumulator.
A text is stored in a memory block, in ASCII format. Transform all lower-case characters of this text into upper-case, leaving numbers, special characters, and upper case characters unchanged.
Max = a(1)
For i = n to N
If max < a(i) then max = a(i)
Next i
2.Write an Intel 8085 assembly language program that counts the number of 1s in a binary number stored in the accumulator. Use the algorithm below. Hand assemble (produce hexadecimal code using code tables) the code for the first 10 lines of the program.
Tally = 0;
For i = 1 to 8
Shift accumulator once to the right
If carry = 1 then increment ONES
Next i
3.Use an algorithm similar to one in Question 2 to find the parity (odd/even) of a binary number stored in the accumulator.
A text is stored in a memory block, in ASCII format. Transform all lower-case characters of this text into upper-case, leaving numbers, special characters, and upper case characters unchanged.