#### Question Details

Description

The Question

Computer system question SIC/XE

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

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

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

This paper was answered on 14-Oct-2020

STATUS

QUALITY

Approved

Oct 14, 2020

EXPERT

Tutor

#### 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.