Question Details

[solution] » Computer system question SIC/XE please help me i attached f


Description

Answer Download


The Question

Computer system question SIC/XE


please help me


i attached file


(d) Suppose memory addresses 21, 33 and 2700 (all decimal) of a SIC/XE machine contain the values

 

2400, 2700 and 33 (all decimal) respectively. The A register (i.e., the accumulator) contains the value

 

?17 (decimal) when the machine executes the 3-byte instruction whose hexadecimal representation

 

is 320021. Show the contents of the memory locations 21, 33 and 2700 after the execution of the

 

instruction. Your answers must be in decimal. Show work. (10 points)

 

Note: The 6-bit opcode 001100 corresponds to the STA (Store Accumulator) instruction.

 

(e) Consider the following instruction for SIC/XE:

 

JEQ LOOP The LC-value for the above instruction is 250 (decimal) and the LC-value for the symbol LOOP is

 

234 (decimal). Assuming that the instruction is being assembled using PC-relative mode, show the

 

assembled form of the instruction in hexadecimal form. The 6-bit opcode for JEQ is 110000. Show

 

work. (12 points)

 

(f) Consider the following module written in SIC/XE Assembly language.

 

Q1

 

FIRST LOOP BLOCK

 

BUF

 

VAL START

 

+LDA

 

STA

 

LDX

 

ADD

 

TIX

 

JLT

 

+STA

 

RESW

 

WORD

 

WORD

 

END 0

 

VAL

 

BLOCK

 

#0

 

BUF

 

#5

 

LOOP

 

VAL

 

1

 

5

 

13

 

FIRST Show the symbol table produced by a 2-Pass assembler for the above module. The LC-values shown

 

in the Symbol Table must be in decimal. (12 points) 1

 


Solution details

Solution #00020398

[solution] » Computer system question SIC/XE please help me i attached f.zip

Uploaded by: Tutor

Answer rating:

This paper was answered on 21-Sep-2019

Pay using PayPal (No PayPal account Required) or your credit card . All your purchases are securely protected by .

About this Question

STATUS

Answered

QUALITY

Approved

DATE ANSWERED

Sep 21, 2019

EXPERT

Tutor

ANSWER RATING

BEST TUTORS

We have top-notch tutors who can do your essay/homework for you at a reasonable cost and then you can simply use that essay as a template to build your own arguments.

You can also use these solutions:

  • As a reference for in-depth understanding of the subject.
  • As a source of ideas / reasoning for your own research (if properly referenced)
  • For editing and paraphrasing (check your institution's definition of plagiarism and recommended paraphrase).
This we believe is a better way of understanding a problem and makes use of the efficiency of time of the student.

STUCK WITH YOUR PAPER?

Order New Solution. Quick Turnaround

Click on the button below in order to Order for a New, Original and High-Quality Essay Solutions. New orders are original solutions and precise to your writing instruction requirements. Place a New Order using the button below.

WE GUARANTEE, THAT YOUR PAPER WILL BE WRITTEN FROM SCRATCH AND WITHIN A DEADLINE.

Order Now