You are to write a simulator for the SIC/XE machine as defined in chapter 1 and the appendix of Beck. Your program must be written in C++ and should use classes: a memory class, a class called sic which extends memory and finally ~ system class which extends the sic class. Use the ASC simulator classes decomposition -presented in lecture -as a model for your program's structure. Your simulator will be expected to run the object program presented in figure 2.8. Thus you will have to write a rudimentary loader that a ccepts an object program in the format described in chapter 2 of Beck and loads the program into your simulator's memory. Your program will be loaded at memory location a so the loader may ignore the M records. Since the program in figure 2.8 does no arithmetic, you will have to put off till later testing the arithmetic instructions. When we have written an assembler for the SIC/XE assembly language, we will easily be able to create write object programs to further test your simulator. You will implement all instructions listed in Appendix A except type 1, floating point and privileged (with the except ion of WD, RD and TD) instructions. The RD and WD operands read and write a char acter from the keyboard and the screen respectively. Their operands will be ignored The input records read by routine RDREC end in ' '\0'. A record for us will be a line, which ends in '\n'. To reconcile this difference we will implement RD so that when it reads '\n' it will return '\0' see attachment(please read the a bove from word and table included
## Deliverables
1) Complete and fully-functional working program(s) in executable form as well as complete source code of all work done. fully commented
## Platform
xp,melinum,