Question: Assembly Language. MASM. Using irvine32.inc Part 1 - Generate an array of formated characters In a procedure create a print a matrix that writes stores

Assembly Language. MASM. Using irvine32.inc

Part 1

- Generate an array of formated characters

In a procedure create a print a matrix that writes stores and writes out characters in a format that writes 4 characters per line and for 4 lines. For example:

ABCD EFGH IJKL MNOP

To do this write, create a matrix that can hold all the letters, and mark the end of the line store a new line character (0Dh,0Ah).

So your array will look something like this "ABCD",0Dh,0Ah,"EFGH",0Dh,0Ah, etc.

Then write the array out with call WriteString

Part 2 - Write out random letters using RandomRange

Using the commands mov eax, 26 call RandomRange ; in the irvine library and an array made up of all the letters in the alphabet Write out a 4 X 4 matrix that prints out 16 random letters taken from an alphabet matrix you created.

Part 3 - Randomly generate vowels or consonants

Using randomRange that selects 0 or 1. If the value is 0, have your list randomly print out a vowel, if the value returned is 1, have a randonly printed out consonant printed out.

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!