1 (a)
Explain the instruction formats and addressing modes of SIC/XE machine.
10 M
1 (b)
Write a program in both SIC and SIC/XE to copy a character string 'system software' to another string.
10 M
2 (a)
Explain the five fundamental functions of an SIC assembler.
5 M
2 (b)
Explain the data structures used in assembler algorithms.
5 M
2 (c)
Generate the object code for the each statement and write the object programs for the following SIC/XE program.
(Given that: LDX=04, LDA=00, LDB=68, ADD=18, TIX=2C, JLT=38, STA=OC, RESUB=4C).
(Given that: LDX=04, LDA=00, LDB=68, ADD=18, TIX=2C, JLT=38, STA=OC, RESUB=4C).
SUM | START | 0 |
FIRST | LDX | #0 |
LDA | #0 | |
+LDB | # TABLE 2 | |
BASE | TABLE 2 | |
LOOP | ADD | TABLE, X |
ADD | TABLE2, X | |
TIX | COUNT | |
JLT | LOOP | |
+STA | TOTAL | |
RSUB | ||
COUNT | RESW | 1 |
TABLE | RESW | 2000 |
TABLE2 | RESW | 2000 |
TOTAL | RESW | 1 |
END | FIRST |
10 M
3 (a)
List the machine independent feature of assembler. Explain any two.
10 M
3 (b)
Explain the feature of load-and-go assembler
5 M
3 (c)
Compare MASM assembler with SIC assembler.
5 M
4 (a)
Write the code for boot strap loader. Explain briefly.
5 M
4 (b)
Explain the data structures used in linking loaders.
5 M
4 (c)
State and explain the various loader design options.
10 M
5 (a)
Explain the four task involved in user-computer-dialogue of an editing system.
4 M
5 (b)
Expalin the editor structure, with diagram.
8 M
5 (c)
Explain the debugging functions and capabilities of interactive debugging system.
8 M
6 (a)
Explain the data structures involved in macroprocessor algorithms.
6 M
6 (b)
Write an algorithm for one-pass macroprocessor.
8 M
6 (c)
Explain the features of general purpose macroprocessors.
6 M
7 (a)
Explain the three basic sections of a LEX program.
6 M
7 (b)
Write a LEX program to count number of words, characters and lines in a given file.
6 M
7 (c)
Explain the following regular expressions, with example:
(i) [] (ii) {} (iii) / (iv) ()
(i) [] (ii) {} (iii) / (iv) ()
8 M
8 (a)
Define YACC tools. What are tow types of conflicts in YACC? Give examples.
10 M
8 (b)
Write a YACC program to validate a simple arithmetic expression involving operators +, -, *, /.
10 M
More question papers from System Software