0% found this document useful (0 votes)
27 views1 page

Lab Assignment #1: Problem Statement

The document outlines an assignment to design and implement a simplified instruction computer (SIC) assembler. The assembler takes assembly code as input and produces two output files - a listing file showing the input, generated object code, and errors, and an object code file. The report for the assignment should include requirements, data flow diagrams, main data structures, and algorithm descriptions. Source code and an executable of the assembler are to be submitted. Optional bonuses include a graphical user interface and object-oriented design. The assignment was given on February 27th, 2005 and is due on March 13th, 2005.

Uploaded by

Hanan Ahmad
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
27 views1 page

Lab Assignment #1: Problem Statement

The document outlines an assignment to design and implement a simplified instruction computer (SIC) assembler. The assembler takes assembly code as input and produces two output files - a listing file showing the input, generated object code, and errors, and an object code file. The report for the assignment should include requirements, data flow diagrams, main data structures, and algorithm descriptions. Source code and an executable of the assembler are to be submitted. Optional bonuses include a graphical user interface and object-oriented design. The assignment was given on February 27th, 2005 and is due on March 13th, 2005.

Uploaded by

Hanan Ahmad
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 1

Alexandria University Faculty of Engineering Computer and Systems Engineering Department

Second Year Systems Programming Spring 2005

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

is equivalent to, is equivalent to,

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

Eng. Hassan Wasel

You might also like