Set No.1

Code No: RR311501

.in

III B.Tech. I Semester Regular Examinations, November -2005 SYSTEMS PROGRAMMING (Computer Science & Systems Engineering) Time: 3 hours Max Marks: 80 Answer any FIVE Questions All Questions carry equal marks ????? 1. (a) What particular END statements are concerned with terminating. i. A program, ii. A procedure, and iii. A segment?

or ld

(b) DOS performs certain operations when it loads an EXE program for execution. What values does DOS initialize: i. In the CS and IP registers, ii. In the SS and SP registers and iii. In the DS and ES registers?

(c) What are the four ways to provide normal termination of an assembly language program? [6+6+4]

uW

2. Explain How the Boolean Operations are used in processing Arithmetic Data? [16] 3. Write an Assembly Language Program for finding the prime factorization of a number, n. Suppose n = 12 then ; factors = 2, 2, 3. [16] 4. (a) Explain the different conditional directives used in macro programming. (b) Write short notes on the EXITM directive. [8+8]

nt

5. (a) List different services offered by BIOS INT 10H. (b) Write short notes on with format Blinking, Reverse video and Scrolling. [8+8]

Aj

6. (a) What is a hard disk ? Explain the characteristics of a hard disk. (b) What is a boot record ? Which files are loaded by it? [8+8]

7. (a) A user types in the command TYPE C:AUTOEXEC.BAT, to display the contents of specified file. Show the hex contents in the program’s PSP at i. 5CH, parameter area 1, (FCB #1) ii. 80H, the default DTA 1 of 2

Set No.1

Code No: RR311501

(b) What is a memory block ? Which programs are stored in first, second and third memory blouses ? (c) Write the instructions to get the address of the PSP and save it in ES register. [8+4+4] 8. (a) Describe the function of each RLD, ESD, TXT and END cards. .

.in

(b) What is the order of RLD, ESD, TXT and END cards in object deck and why are they in this order [8+8]

Aj

nt

uW

or ld

?????

2 of 2

Set No.2

Code No: RR311501

1. (a) Explain the terms. i. Segments. ii. Off sets. iii. Boundaries. (b) What are

or ld

i. Three kinds of segments ii. Their maximum size and iii. The address boundary on which they begin.

.in

III B.Tech. I Semester Regular Examinations, November -2005 SYSTEMS PROGRAMMING (Computer Science & Systems Engineering) Time: 3 hours Max Marks: 80 Answer any FIVE Questions All Questions carry equal marks ?????

(c) Show the EAX register and the size and position of the AH, AL and AX within it. [6+3+7]

2. Explain use of XLAT instruction with a suitable example.

[16]

uW

3. (a) Write an Assembly Language Program which converts a binary number to ASCII format. (b) Print contents of AL register onto the screen in decimal notation. [8+8]

4. (a) What is meant by a MACRO? With suitable example explain a MACRO instruction? (b) Explain the pass-2 macro definition and expansion algorithm.

nt

[8+8]

5. Write an Assembly language program to illustrate displaying a menu setting a uses press the Up and Down Arrow keys toselect an items from menu. [16]

Aj

6. (a) What is a file handle ? Explain the functions of INT 21H used to carry out the following operations using file handles. i. ii. iii. iv.

Create file Open file Write record Close file

(b) What is an ASCIIZ string? Explain with the help of an example. [10+6] 1 of 2

Set No.2

Code No: RR311501

7. (a) What is BIOS INT 13H ? What are two major disadvantages of using BIOS INT 13H ? Explain. (b) Explain the basic disk functions carried out by BIOS INT 13H. [8+8]

Aj

nt

uW

or ld

?????

.in

8. Explain the design of simple one-pass macro processor to provide macro definitions within macros. [16]

2 of 2

Set No.3

Code No: RR311501

1. (a) Explain about COM programs. (b) Explain about addressing formats and addressing modes.

.in

III B.Tech. I Semester Regular Examinations, November -2005 SYSTEMS PROGRAMMING (Computer Science & Systems Engineering) Time: 3 hours Max Marks: 80 Answer any FIVE Questions All Questions carry equal marks ?????

[6+10]

2. List and explain various ASCII instructions set with an example?

[16]

or ld

3. Compute the primes between 1 and 10,000. Recall that an integer n is prime if it is at least 2 and if it can’t be divided evenly by any positive integer except 1 and itself. The list of primes begins 2, 3, 5, 7, 11, 13, 17, 19, .......(You can use any one of the easiest ways of finding the prime), in assembly language. [16] 4. (a) Under what circumstances would the use of macros be recommended?

(b) Explain with an example, the implementation of macro calls with in macros. [8+8]

i. What does it mean when the address of the head and tail in the keyboard buffer are the same? ii. What does it mean when the address of the tail immediately follows the head?

uW

5. (a)

(b) Provide the Scan code for the following extended functions: Down Arrow Program function key F2 Home Pg Down

nt

i. ii. iii. iv.

[8+8]

6. (a) What is a hard disk ? Explain the characteristics of a hard disk.

Aj

(b) What is a boot record ? Which files are loaded by it? [8+8]

7. (a) What is TSR ? How TSR is activated ? Explain. (b) A link map for an .EXE program shows the START STOP LENGTH NAME 00000H 0002FH 00030H STACK 00030H 0005BH 0002CH CODESG 00060H 0007CH 0001DH DATASG 1 of 2

following: CLASS STACK CODE DATA

Set No.3

Code No: RR311501

DOS loads the program with the PSP beginning at location 1A25[0]H. Showing calculations wherever required, give the contents of each of the following registers at the time of loading ( ignore reverse-byte notation): CS; DS; ES; SS; SP

.in

i. ii. iii. iv. v.

[5+11]

or ld

8. (a) In an assembler it is often convenient to enable pass 1 to access symbols from the symbol table before the pass is completed For eg, in the following PseudoopA EQU B It is necessary to obtain the value of B to get value for A. In view of this requirement, suggest the best method of data storage and retrieval for symbol table. Explain your answer. (b) Explain the format of Data Bases used by assembler pass 1 and pass 2.

[10+6]

Aj

nt

uW

?????

2 of 2

Set No.4

Code No: RR311501

.in

III B.Tech. I Semester Regular Examinations, November -2005 SYSTEMS PROGRAMMING (Computer Science & Systems Engineering) Time: 3 hours Max Marks: 80 Answer any FIVE Questions All Questions carry equal marks ????? 1. (a) Distinguish between assembly language and high level language. (b) Explain about Intel Pentium architecture. (c) Add the following binary numbers.

or ld

000011011 01010101 00001111 111111111 10101010 11110000 ————— ————— —————

[4+9+3]

2. Explain the following with examples: (a) The JMP & conditional Jump (b) The LOOP instructions (c) Shifting instructions

uW

(d) STOS and CMPSW instructions (e) REPE and CLD instructions (f) IMUL instruction

(g) AAM, DAA instructions (h) XLAT instruction

[16]

nt

3. (a) Write an Assembly Language Program which converts a binary number to ASCII format. (b) Print contents of AL register onto the screen in decimal notation. [8+8]

Aj

4. (a) Under what circumstances would the use of macros be recommended? (b) Explain with an example, the implementation of macro calls with in macros. [8+8]

5. Write a ASL program to display ASCII character set.

[16]

6. (a) Explain the functions of INT 21H used to carry out the following operations using FCB. 1 of 2

Set No.4

Code No: RR311501 i. ii. iii. iv.

Create file Set DTA Write record Close file

(b) Explain the functions of INT 21H used for random processing of disk files using FCBs

.in

(c) Does FCB method support path names ? [6+5+5]

7. (a) Which functions of DOS INT21H, carries out the following operations ? Explain. Get memory allocation strategy Set memory allocation strategy Get upper memory link Set upper memory link

or ld

i. ii. iii. iv.

(b) Show the contents in the program’s PSP at, FCB #1, FCB #2, and, default DAT, Which starts at 5CH, 6CH and 80H respectively, for i. Command with No operand ii. Command with Text operand

[8+8]

uW

8. (a) Explain various phases in loaders?

(b) How the loading and linking process can be resolved in relocating loaders?

Aj

nt

?????

2 of 2

[8+8]

Set No.1

ii. Command with Text operand · [8+8] · 8. (a) Explain various phases in loaders? (b) How the loading and linking process can be resolved in relocating loaders?

48KB Sizes 2 Downloads 64 Views

Recommend Documents

Currents-no1-2015-rogalska.pdf
As one of the biggest social networking services on the Internet, Facebook has. become an invaluable source of analysable data for CMC researchers. It allows.

Currents-no1-2015-wludzik.pdf
PERATURAN DIRJEN DIKTI PEDOMAN OPERASIONAL. Desember 2014. Page 3 of 14. Currents-no1-2015-wludzik.pdf. Currents-no1-2015-wludzik.pdf. Open.

Currents-no1-2015-piotrowska.pdf
presentation of pregnancy and motherhood in the works by the above- mentioned Native American writers with the one present in the book by Naomi. Wolf.

Currents-no1-2015-podruczna.pdf
Keywords: difference, memory, otherness, postcolonialism, science fiction. There can be little doubt that science fiction's relationship with the issue of race.

Currents-no1-2015-reiffenrath.pdf
University of Paderborn. “I AM AVERAGE BECAUSE...” UNRELIABILITY AND THE (RE)CONSTRUCTION OF NORMALCY. Keywords: unreliable narration ...

Currents-no1-2015-piotrowska.pdf
writing is but one sphere of their creative activities; Wolf is a third–wave. feminist and spokesperson for women's rights, Deloria was an anthropologist.

Currents-no1-2015-lupa.pdf
simultaneously the source of the romantic love myth as such and the cause of. its collapse. The protagonist, Ailsa, used to be compared to the Little Mermaid,. the character from one of Hans Christian Andersen's tales, whose plot is quite. crucial fo

Currents-no1-2015-bio.pdf
Page 1 of 4. CURRENTS. A Journal of Young English Philology Thought and Review, vol.1, no.1/2015. Ed. by E. Bodal, A. Jaskólska, N. Strehlau & M. Włudzik, www.currents.umk.pl. ISSN 2449-8769 || All texts licensed under CC BY-NC-ND 3.0. 210. ABOUT T

Currents-no1-2015-sarul.pdf
World War I reshaped the notion of what art is, just as it forever altered. the perception of what war is. Although World War II racked up more. catastrophic losses ...

Currents-no1-2015-brodzik.pdf
Keywords: Jean Baudrillard, found footage film, hyperreality, horror film,. contemporary cinema. Found footage genre is a new cinematic convention within horror ...

Currents-no1-2015-bodal2.pdf
Page 1 of 4. CURRENTS. A Journal of Young English Philology Thought and Review, vol.1, no.1/2015. Ed. by E. Bodal, A. Jaskólska, N. Strehlau & M. Włudzik, ...

Trust PH2 ADDENDUM No1 12.22.2017.pdf
There was a problem previewing this document. Retrying... Download. Connect more apps... Try one of the apps below to open or edit this item. Trust PH2 ADDENDUM No1 12.22.2017.pdf. Trust PH2 ADDENDUM No1 12.22.2017.pdf. Open. Extract. Open with. Sign

JMIFR Vol11 No1 2014 Part4.pdf
Page 1 of 22. BAY' AL-TAWARRUQ DAN. APLIKASINYA DI BANK. MUAMALAT MALAYSIA BERHAD. Mohd Izuwan Mahyudin. Azizi Che Seman. University of ...

2nd qtr 2015 BAR No1.pdf
P- Occ. Mindoro 1 1 1 1. updating of existing plans P- Or. ... Oriental Mdo. 1 1 1 3 1 1. Marinduque 1 1 2 1 .... C-Calapan 3 3 3 3 3 3 3 3. C-Socorro 3 3 3 3 3 3 3 3.

JMIFR Vol11 No1 2014 Part3.pdf
International Islamic University of Malaysia. ABSTRACT ... JMIFR The Journal of Muamalat and Islamic Finance Research Vol. 11/No.1 2014 ... Asian Development Bank (ADB) (2000) defines poverty as ... JMIFR Vol11 No1 2014 Part3.pdf.

Article_02-Vol-6-No1-Maret_2017.pdf
listed on the Indonesia Stock Exchange. Monetary policy variables is proxied through BI. rate, followed by inflation and exchange rate, as well as the Dow Jones ...

Set No.
The data for 2-bus system is given below. SG1 =Unknown ... Develop the expressions for analyzing single line to ground fault in a large power · system using “Z ...

Set No:
Give advantages · and disadvantages of ... were given the problem of moving a desk with two things on it from one room to · another. ... 5.(a) Explain with examples primitive constructs CAR, CDR CONS AND COND IN · LISP. .... (b) With the help of an e

Set No:
In the gate n/w shown in fig. only wires a,b,c and d may become either s-a-o or ... 7.a) Find the shortest homing sequence for the machine shown in table. . PS.

Set No.
(ii) fire point (iii) cloud point and explain their · significance. .... 7.a) Compare the air refrigeration system with vapour compression refrigeration system? Set No. 4.

Set No:
Deduce an expression for the thermal efficiency of joules air engine and show that · it is less than Carnot efficiency. 5. a) Define the mean effective pressure?

Set No:
Explain constraint satisfaction with the help of a crypt arithmetic problem. 3. a) What are the uses of combining forward and backward reasoning? Justify your.

Set No.
Discuss the factors determining the choice of direction for a particular problem. 2. Trace the constraint satisfaction procedure solving the crypt arithmetic problem.

Set No.
c) With the help of a neat sketch, explain the construction and operation of a sliding ... c) Why do commercial vehicles need more than three forward speeds?