Professional Documents
Culture Documents
Bonafide………………………………………………………………………………. .i
Acknowledgement……………………………………………………………………. ii
Abstract……………………………………………………………………………......iii
Company Bonafide
1 Introduction 1
1.1 Restrictions 1
1.2 About instruction set simulator 1
1.2.1 Flow of input in the system software development tool chain 2
1.3 Format of the Intel Hex Record 3
1.4 E.g. Intel Hex files: 4
2 Problem Definition 5
2.1 Absolute file reader 5
2.2 Loader 5
2.3 Instruction decoder 5
2.4 Disassembler 5
2.5 Simulation engine 5
2.6 Simulator user-interface 5
3 Requirements 6
3.1 System requirement 6
3.2 Software requirement 6
3.3 Prerequisites: 6
4 Modules and Design 7
4.1 Absolute Reader 7
4.1.1 Algorithm 7
4.1.2 Note 8
4.1.3 Structure for IntelHexrecord 9
4.1.4 Prototypes of internal functions 10
4.1.5 Algorithm DecodeIntelHexRecords 10
4.1.6 Algorithm ConvertStringToInteger 11
4.1.7 Algorithm StoreIntelHexRecord 12
4.2 Loader 13
4.2.1 Algorithm for load the opcode 13
4.2.2 Reset the ProgramCounter 14
4.2.3 Algorithm for Initialize the Program Counter 14