Professional Documents
Culture Documents
Fourth Semester Examination - 2010 System Programming
Fourth Semester Examination - 2010 System Programming
Tech
PCCS4203
Fourth Semester Examination – 2010
SYSTEM PROGRAMMING
Full Marks – 70
Time : 3 Hours
Answer Question No. 1 which is compulsory and any five from the rest. The figures in the right-hand
margin indicate marks
Answer Question No. 1 which is compulsory and any five from the rest. The figures in the right-hand
margin indicate marks
CLI =F’3’,3
BE SAME
LR 3,5
SAME AR 5,5
(b) What is the difference between the following two instructions? I ALP(Assembly
language
programming)
INDEX EQU 5
INDEX DC F’5’.
(c) Difference between RR and RX instruction formats with suitable I ALP
examples
(d) Describe the function of each of the RLD, ESD, TXT and END II Loader
cards
(e) What is the difference in function between the EXTRN and II Loader
ENTRY pseudo-ops
(f) Differentiate between an Absolute loader and a Direct-linking II Loader
loader
SIMPLE START
BEGIN BALR 15, 0
USING BEGIN+2, 15
LOOP L R1, =F’2’
A R1, =F’3’
ST R1, FIVE
CLI FIVE+3,4
BNE LOOP
BR 14
R1 EQU 1
FIVE DS F
END
Answer Question No. 1 which is compulsory and any five from the rest. The figures in the right-hand
margin indicate marks
PROG 1 START 0
BALR 15,0
USING *, 15
LR 5, 15
LH 1 ,DAT1
USING * ,10
BR 14
DAT 2 DC F’11’
DAT 1 DC H’22’
TRS DC H’22’
BCK DS F
AA EQU 2
DD EQU 2
BALR 2 ,0
USING *+AA, TRS
LA 7 ,=A(BCK)
BR 6
DC H’64’
DROP D
L 9, A(DAT1)
A 9, =A(DAT1)
LTROG
ST 9, =F ‘400’
END Q
5 I Machine
structure and
Machine
Language
Write a Machine language program to add the contents of 20
adjacent full words in memory to the number 50 under following
set of assumptions[10]
(i)The program is in core at absolute location 48.
(ii)The 20 adjacent full words are starting at absolute location
900
(iii)The number 50 to be added is at absolute location 896.
(IV)The number 20 is at absolute location 892.
(v)Register No.1 contains 900.