Question: Table 5 . 1 below ( from the textbook, Pages 1 7 0 - 1 7 1 of Section 5 . 4 ) introduces the
Table below from the textbook, Pages of Section introduces the Irvine Library
The library has routines that provide essential functionalities for inputoutput 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 validationConversion eg isDigit, ParseInteger
Debugging Aids eg DumpMem
IO for getting input from keyboard, sending output to the screen and dealing with files on the
disk eg Crlf GetCommandTail, CloseFile
Messaging eg MsgBox
Math eg Random
Strings eg Strcompare
Time eg GetMseconds
According to the above classification, there are 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 IO
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
CloseFile Closes a disk file that was previously opened.
Clrscr Clears the console window and locates the cursor at the upper left
corner.
CreateOutputFile Creates a new disk file for writing in output mode.
Crlf Writes an endofline sequence to the console window.
Delay Pauses the program execution for a specified nmillisecond interval.
DumpMem Writes a block of memory to the console window in hexadecimal.
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.
GetCommandTail Copies the programs commandline arguments called the
command tail into an array of bytes.
GetDateTime Gets the current date and time from the system.
GetMaxXY Gets the number of columns and rows in the console windows
buffer.
GetMseconds Returns the number of milliseconds elapsed since midnight.
GetTextColor Returns the active foreground and background text colors in the
console window.
Gotoxy Locates the cursor at a specific row and column in the console
window.
IsDigit Sets the Zero flag if the AL register contains the ASCII code for a
decimal digit
MsgBox Displays a popup message box.
MsgBoxAsk Display a yesno question in a popup message box.
OpenInputFile Opens an existing disk file for input.
ParseDecimal Converts an unsigned decimal integer string to bit binary.
ParseInteger Converts a signed decimal integer string to bit binary.
Random Generates a bit pseudorandom integer in the range to
FFFFFFFFh
Randomize Seeds the random number generator with a unique value.
RandomRange Generates a pseudorandom integer within a specified range.
ReadChar Waits for a single character to be typed at the keyboard and returns
the character.
ReadDec Reads an unsigned bit decimal integer from the keyboard,
terminated by the Enter key.
ReadFromFile Reads an input disk file into a buffer.
ReadHex Reads a bit hexadecimal integer from the keyboard, terminated
by the Enter key.
ReadInt Reads a bit signed decimal integer from the keyboard,
terminated by the Enter key.
ReadKey
Reads a character from the keyboards input buffer without waiting
for input.
Reads a string from the keyboard, terminated by the Enter key.
ReadString
SetTextColor
Sets the foreground and background colors of all subsequent text
output to the console.
Compares two strings.
Strcompare
Strcopy
Copies a source string to a destination string.
Returns the length of a string in EAX.
Strlength
Strtrim
Removes unwanted characters from a string.
Converts a string to uppercase letters.
Strucase
WaitMsg
Displays a message and waits for a key to be pressed.
WriteBin
Writes an unsigned bit integer to the console window in ASCII
binary format.
WriteBinB
Writes a binary integer to the console window in byte, word, or
doubleword format.
Writes a single character to the console window.
WriteChar
WriteDec
Writes an unsigned bit integer to the console window in decimal
format.
WriteHex
Writes a bit integer to the console window in hexadecimal
format.
WriteHexB
Writes a byte, word, or doubleword integer to the console window
in hexadecimal format.
WriteInt
Writes a signed bit integer to the console window in decimal
format.
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
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
