Professional Documents
Culture Documents
HANOI 2021: Hanoi University of Science and Technology
HANOI 2021: Hanoi University of Science and Technology
HANOI 2021: Hanoi University of Science and Technology
-----o0o-----
REPORT
SOFTWARE TO DISPLAY “.HEX” FILES
HANOI 2021
Contents
I.Introduction............................................................................................................3
II.Flowchart..............................................................................................................4
IV.Result.................................................................................................................5
V.Conclusion.......................................................................................................10
I. Introduction
The program HexDisplay.exe is required to complete these tasks: The program will open a file and find
out if the file is a hex file or not? Then the program will read each line of the file and finally display the
file it's on the screen following this format:
After each iteration of 25 lines printed, the program ask user if she wants to print next 25 lines.
Intel hexadecimal object file format, Intel hex format or Intellec Hex is a file format that conveys binary
information in ASCII text form. It is commonly used for programming microcontrollers, EPROMs, and
other types of programmable logic devices.
1. The program opens the file and check if it is opened? If not, the program stops.
2. A buffer to store data is created.
3. Recursively take input data from file, check its validity and store in the buffer until the end of files.
4. Print data and end the program.
III. The important point that decides the
program performance.
The program runs efficiently or not depending on the performance of the functions in its source code.
The most often used function is the function to convert string to integer. The most important function is
the function that stores the data into the buffer and the most intricate function is the function used to
print data.
IV. Results