Question: Table 5 . 1 below ( from the textbook, Pages 1 7 0 - 1 7 1 of Section 5 . 4 ) introduces the

Table 5.1 below (from the textbook, Pages 170-171 of Section 5.4) introduces the Irvine Library.
The library has routines that provide essential functionalities for input/output, debugging, math, etc. In
order to utilize the Irvine library when creating assembly programs, you want to have your own
"User Manual" for it (maybe for the upcoming assignment!). To that end, you want to:
(a) Classify each routine based on its functionality. One possible classification considers the following
grouping:
Data validation/Conversion (e.g., isDigit, ParseInteger32)
Debugging Aids (e.g., DumpMem)
I/O (for getting input from keyboard, sending output to the screen and dealing with files on the
disk (e.g., Crlf, GetCommandTail, CloseFile)
Messaging (e.g., MsgBox)
Math (e.g., Random32)
Strings (e.g., Str_compare)
Time (e.g., GetMseconds)
According to the above classification, there are 7 different groups of routines in Irvine Library. You
may come out with another classification if you wish so. For example, you may want to split the I/O
set of routines into two or even three subgroups. (In this case, state briefly the rationale for your
classification.)
Here is a synopsis of the Irvine Library (sorted in alphabetic order by the procedure name):
Seq. Procedure Description
1 CloseFile Closes a disk file that was previously opened.
2 Clrscr Clears the console window and locates the cursor at the upper left
corner.
3 CreateOutputFile Creates a new disk file for writing in output mode.
4 Crlf Writes an end-of-line sequence to the console window.
5 Delay Pauses the program execution for a specified n-millisecond interval.
6 DumpMem Writes a block of memory to the console window in hexadecimal.
7 DumpRegs Displays the EAX, EBX, ECX, EDX, ESI, EDI, EBP, ESP,
EFLAGS, and EIP registers in hexadecimal. Also displays the most
common CPU status flags.
8 GetCommandTail Copies the programs command-line arguments (called the
command tail) into an array of bytes.
9 GetDateTime Gets the current date and time from the system.
10 GetMaxXY Gets the number of columns and rows in the console windows
buffer.
11 GetMseconds Returns the number of milliseconds elapsed since midnight.
12 GetTextColor Returns the active foreground and background text colors in the
console window.
13 Gotoxy Locates the cursor at a specific row and column in the console
window.
14 IsDigit Sets the Zero flag if the AL register contains the ASCII code for a
decimal digit (09).
15 MsgBox Displays a popup message box.
16 MsgBoxAsk Display a yes/no question in a popup message box.
17 OpenInputFile Opens an existing disk file for input.
18 ParseDecimal32 Converts an unsigned decimal integer string to 32-bit binary.
19 ParseInteger32 Converts a signed decimal integer string to 32-bit binary.
20 Random32 Generates a 32-bit pseudorandom integer in the range 0 to
FFFFFFFFh.
21 Randomize Seeds the random number generator with a unique value.
22 RandomRange Generates a pseudorandom integer within a specified range.
23 ReadChar Waits for a single character to be typed at the keyboard and returns
the character.
24 ReadDec Reads an unsigned 32-bit decimal integer from the keyboard,
terminated by the Enter key.
25 ReadFromFile Reads an input disk file into a buffer.
26 ReadHex Reads a 32-bit hexadecimal integer from the keyboard, terminated
by the Enter key.
27 ReadInt Reads a 32-bit signed decimal integer from the keyboard,
terminated by the Enter key.
28
29
ReadKey
Reads a character from the keyboards input buffer without waiting
for input.
Reads a string from the keyboard, terminated by the Enter key.
30
ReadString
SetTextColor
Sets the foreground and background colors of all subsequent text
output to the console.
31
Compares two strings.
32
Str_compare
Str_copy
Copies a source string to a destination string.
33
Returns the length of a string in EAX.
34
Str_length
Str_trim
Removes unwanted characters from a string.
35
Converts a string to uppercase letters.
36
Str_ucase
WaitMsg
Displays a message and waits for a key to be pressed.
37
WriteBin
Writes an unsigned 32-bit integer to the console window in ASCII
binary format.
38
WriteBinB
Writes a binary integer to the console window in byte, word, or
doubleword format.
39
Writes a single character to the console window.
40
WriteChar
WriteDec
Writes an unsigned 32-bit integer to the console window in decimal
format.
41
WriteHex
Writes a 32-bit integer to the console window in hexadecimal
format.
42
WriteHexB
Writes a byte, word, or doubleword integer to the console window
in hexadecimal format.
43
WriteInt
Writes a signed 32-bit integer to the console window in decimal
format.
44
WriteStackFrame
WriteStackFrame
Name
Writes the current procedures stack

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 Programming Questions!