Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

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

image text in transcribed

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

image text in transcribed

SIC XE pass two output

image text in transcribed

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

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Students also viewed these Databases questions

Question

Group Size and Communication

Answered: 1 week ago

Question

Understanding Group Roles

Answered: 1 week ago