Question: Dears I request to create project with python to convert to machine code using SIC/XE First SIC/XE print symoble table --------------------------------------------- Input file will be
Dears I request to create project with python to convert to machine code using SIC/XE
First SIC/XE print symoble table
---------------------------------------------
Input file will be

pass one expected to print in file symbol as below table of symbol and location

SIC XE pass two output

Please send me correct python code with expected output
Remember InSJC 1- Check the instruction format 2- WORD +3 3- RESW \# of reserved * 3 convert to hex then add 4- RESB \# of reserved * 1 convert to hex then add 5- BYTE X ' each 2 hex = lbyte 6- BYTE C ' count convert to hex then add \begin{tabular}{|l|l|l|l|l|} \hline & & + STA & TOTAL & 0013+3= 0016 \\ \hline & & RSUB & & 0016+4= 001A \\ \hline & COUNT & RESW & 1 & 001A+3= 001D \\ \hline & TABLE & RESW & 2000 & 001D+3= 0020 \\ \hline & TABLE2 & RESW & 2000 & 1790 \\ \hline & TOTAL & RESW & 1 & 2fO0 \\ \hline & & END & FIRST & 2fO3 \\ \hline \end{tabular} \begin{tabular}{|l|l|} \hline symbol & location \\ \hline first & 0000 \\ \hline loop & 000A \\ \hline count & 001D \\ \hline Table & 0020 \\ \hline Table2 & 1790 \\ \hline total & 2f00 \\ \hline \end{tabular} H/NAME:6BITS/START:6BITS/LENGTH:6BITS T/START:6BITS/LENGTH;2BITS/OBJECT CODE E/START:6 BITS6 H.sumXXX.000000.002f03 T.000000.1D. 00500000100069101790 1BA013 1BC000 2F200A 3B2FF4 0F102F00 4c0000 M.0007 .05 M.0017.05 E.000000
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
