Академический Документы
Профессиональный Документы
Культура Документы
Lab Assignment #1
Problem Statement: It is required to design and implement a Simplified Instruction Computer (SIC) assembler. The assembler input is a text file that includes a free-formatted assembly language code. Examples of free formatted code: 1. LABEL ADD LABEL1 LABEL ADD LABEL1 2. ADD LABEL1 ADD LABEL1
The assembler outputs two files, a listing file and an object-code file. The listing file format is shown in the following figure. Un-shaded fields are from the input file, while shaded fields are generated by the assembler. A meaningful error messages is written in a separate line below the line in which the error occurred. Line No Address Label Mnemonic Operands Op-code Objectcode Comment
The object-code file format is the same as the one described in the text book in section 2.1.1. The submitted report should include: 1. Requirements specifications. 2. Data flow diagrams. 3. Main data structures. 4. Algorithms description. Submit a disk containing the assembler executable file and source code. Bonus: Graphical user interface (GUI) Object-oriented design and implementation. Assigned on Sunday, February 27th , 2005. Due date: Sunday, March 13th, 2005
Enjoy it!
Dr Sahar Ghanem