Answered step by step
Verified Expert Solution
Link Copied!

Question

...
1 Approved Answer

Please I need your support to provide me python code for SIC path one (Simplified Instructional Computer) This code that convert assembly language to machine

Please I need your support to provide me python code for SIC path one (Simplified Instructional Computer)

This code that convert assembly language to machine language

input file

symbols instructions, reference

Prog1

Start

0000

LDA

ZERO

STA

INDEX

LOOP

LDX

INDEX

LDA

ZERO

STA

ALPHA, X

LDA

INDEX

ADD

THREE

STA

INDEX

COMP

K300

TIX

TWENTY

JLT

LOOP

INDEX

RESW

1

ALPHA

RESW

100

ZERO

WORD

0

K300

WORD

100

THREE

WORD

3

TWENTY

WORD

20

End

Prog1

hint

image text in transcribed

Expected output

image text in transcribed

HINT \begin{tabular}{|l|l|} \hline symbol & location \\ \hline LOOP & 0006 \\ \hline INDEX & 0021 \\ \hline ALPHA & 0024 \\ \hline ZERO & 0150 \\ \hline K300 & 0153 \\ \hline THREE & 0156 \\ \hline TWENTY & 0159 \\ \hline \end{tabular} HINT \begin{tabular}{|l|l|} \hline symbol & location \\ \hline LOOP & 0006 \\ \hline INDEX & 0021 \\ \hline ALPHA & 0024 \\ \hline ZERO & 0150 \\ \hline K300 & 0153 \\ \hline THREE & 0156 \\ \hline TWENTY & 0159 \\ \hline \end{tabular}

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access with AI-Powered 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

Recommended Textbook for

Thomas Calculus Early Transcendentals

Authors: Joel R Hass, Christopher E Heil, Maurice D Weir

13th Edition

9780321884077

Students also viewed these Accounting questions