Download as doc, pdf, or txt
Download as doc, pdf, or txt
You are on page 1of 1

system software

PART-A

1) Write and explain the algorithm for pass1 of an assembler?


2) Generate the object program for the ALP given below

TEST START 0
BEGIN CLEAR X
CLEAR A
+LDS #4096
LOOP ADD TABLE,X
TIXR S
JLT LOOP
+STA TOTAL
RSUB
TABLE RESW 4096
TOTAL RESW 1
END BEGIN
PART-B

3) describe the following with respect to sic/xe machine

i)registers ii)addressing modes iii)instruction formats?

4) What are assembler directives?explain START,RESW,BYTE,BASE assembler


directives with examples?

5) (i)Explain the data structures used in the design of 2 pass assembler.


(ii) why do we require multipass assembler? Give an example to support your
answer?
PART-C
6) )(i)write a sequence of instructions for SIC to clear a 20 byte string to all
blanks.
(ii) differentiate between system software and application software?

7) Write a sic/xe program to add arrays of 200 integers?

8) What is program relocation? Explain a method for specifying relocation as a


part of object program with example?

******************

You might also like