It is a program that translates machine code (HTE record) into an assembly code for the Modified Simplified Instructional Computer (modi-SIC).
OPCODE (8 Bits) |
---|
All Type 3 instruction could be immediate instructions this is done by a new division of bits of instructions of Type 3 (Format 3) as shown in following table.
OPCODE (7 Bits) | Immediate Flag [i] (1 Bit) | Indexing Flag [x] (1 Bit) | Address (15 Bits) |
---|
The modification applied on the opcode as
- Only opcode is represented as 7 bits (not 8) as in SIC
- The 8th bit of the opcode represents the immediate flag (i) which has two value
-
a. 0 if the instruction without immediate value (has an address)
b. 1 if the instruction with immediate value
It takes as an input a text file (in.txt) that contains modi-SIC machine code (modi-SIC HTE record).
Remember that The modi-SIC HTE record will be modified to accept also object code of Format 1 instruction of SIC/XE.
A generated symbol table file (symbolTable.txt) for all the symbols extracted from the HTE record.
A generated assembly code file (assembly.txt) which contain three columns ordered from left as location counter, the assembly code, and object code.