Assembly Language Programming
A) [20] Chapter 5 – Exercise 5 (Pg 187) – BetterRandomRange Procedure
Create a test program that asks the user for a lower number and an upper number – and then generate a 10 random number from the lower number to the upper number. The questions should be repeated 5 times before stopping – the loop needs to include asking for the lower and upper numbers. Make sure you use the Randomize library function in your program (it only needs to be called once and usually as the first line of the program).
B) [40] The IsLetter, ToUpperCase and ToLowerCase Procedures
Make a procedure, much the like the IsDigit procedure code shown at the end of Chapter 6, only the IsLetter procedure will return ZF=1 if the value in the AL register is a letter, either upper case or lower case. If the value in AL is not a letter, then ZF will return as ZF=0. The procedure must preserver
The difference between the uppercase letters and the lowercase letters is that bit 5 (20h) is on for the lowercase letters and off for the uppercase letters. Create two more procedures, ToUpperCase and ToLowerCase. ToUpperCase must turn the 5thbit off (use an AND operation) and the ToLowerCase must turn the 5th bit on (use an OR operation).
Make a test program that will do the following:
Ask the user to enter a string using the ReadString procedure in the Irvine Library. The string will be limited to 250
Copy the string to two other
Count the number of Letters in the original string and report the
Change all the letters in the first copy to
Change all the letters in the second copy to LowerCase
DescriptionIn this final assignment, the students will demonstrate their ability to apply two ma
Path finding involves finding a path from A to B. Typically we want the path to have certain properties,such as being the shortest or to avoid going t
Develop a program to emulate a purchase transaction at a retail store. Thisprogram will have two classes, a LineItem class and a Transaction class. Th
1 Project 1 Introduction - the SeaPort Project series For this set of projects for the course, we wish to simulate some of the aspects of a number of
1 Project 2 Introduction - the SeaPort Project series For this set of projects for the course, we wish to simulate some of the aspects of a number of