CSL_assignment_9.pdf

40‐126 : Computer Structure and Language Computer Engineering Department Sharif University of Technology Fall 2007 Distributed: 1386/9/19 Assignment #9 Due: 1386/9/25 In this assignment you will have to write a program that takes two numbers and one of four main mathematical operations from input (key board) and performs the proper action on them; then writes output on screen. Examples: 23 54 63 _ + * 7 19 38 16 73 2394 Pay attention that program inputs will be Decimal Numbers. The output should also be in Decimal Format. Converting binary and decimal numbers should be done by the program and without using prepared traps of simulator. For uploading your files, just rename the main code file (*.asm or *.X68) to your Student ID and then zip it; Like : 8512345678.zip