Rr311501 Systems Programming

of 8
All materials on our website are shared by users. If you have any questions about copyright issues, please report us to resolve them. We are always happy to assist you.
Categories
Published
Code No: RR311501 Set No. 1 III B.Tech I Semester Supplementary Examinations, February 2007 SYSTEMS PROGRAMMING (Computer Science & Systems Engineering) Time: 3 hours Max Marks: 80 Answer any FIVE Questions All Questions carry equal marks ⋆⋆⋆⋆⋆ 1. (a) Explain the following instructions: i. ii. iii. iv. v. XCHG LEA INC DEC MOV (b) Code one instruction that swaps the contents of a word named WORDZ with the BX. (c) Explain about segment override prefix. 2. Explain the following with examples: (a)
  Code No: RR311501 Set No. 1 III B.Tech I Semester Supplementary Examinations, February 2007SYSTEMS PROGRAMMING(Computer Science & Systems Engineering)Time: 3 hours Max Marks: 80Answer any FIVE QuestionsAll Questions carry equal marks ⋆ ⋆ ⋆ ⋆ ⋆ 1. (a) Explain the following instructions:i. XCHGii. LEAiii. INCiv. DECv. MOV(b) Code one instruction that swaps the contents of a word named WORDZ withthe BX.(c) Explain about segment override prefix. [5+3+8]2. Explain the following with examples:(a) AAS and AAM instructions(b) IMVL and CBW instructions(c) LODSD and CMPSW(d) Keyboard input functions(e) Control Transfer operations(f) Jump Based on Signed Data(g) REPE instructions(h) XLAT instructions [16]3. (a) For string operations using REP, how do you define the number of repetitionsthat are to occur?(b) For string operations using REP, how do you set processing right to left?(c) Write an Assembly Language Program to check whether a given string ispalindrome? [6+5+5]4. (a) What is meant by a MACRO? With suitable example explain a MACROinstruction?(b) Explain the pass-2 macro definition and expansion algorithm. [8+8]5. Write an Assembly language program to illustrate displaying a menu setting a usespress the Up and Down Arrow keys toselect an items from menu. [16]6. (a) What is a hard disk ? Explain the characteristics of a hard disk.1 of 2  Code No: RR311501 Set No. 1 (b) What is a boot record ? Which files are loaded by it? [8+8]7. (a) Explain briefly which functions of INT 13H carry out the following operationson disk.i. Verify sectorsii. Format tracks(b) Write and explain the instructions,i. To reset the disk controllerii. To read the disk status [8+8]8. (a) Explain two pass algorithm for the design of a macro processor.(b) What are the different data structures used in this algorithm. [8+8] ⋆ ⋆ ⋆ ⋆ ⋆ 2 of 2  Code No: RR311501 Set No. 2 III B.Tech I Semester Supplementary Examinations, February 2007SYSTEMS PROGRAMMING(Computer Science & Systems Engineering)Time: 3 hours Max Marks: 80Answer any FIVE QuestionsAll Questions carry equal marks ⋆ ⋆ ⋆ ⋆ ⋆ 1. (a) Explain about COM programs.(b) Explain about addressing formats and addressing modes. [6+10]2. Define three separate related tables that contain the following data:(a) item numbers 06, 10, 14, 21 and 24(b) item descriptions of videotape, receivers, modems, keyboards and diskettes(c) item prices 93.95, 82.25, 90.67, 85.80 and 13.85.Using the description tablecode the following:i. a routine that moves the contents of the table to another (empty) tableii. a routine that sorts the contents of this new table into ascending sequenceby description. [4+4+8]3. Write an Assembly Language Program, which reads two numbers into AX, BX andprints Greatest Common Divisor (GCD) onto the screen. [16]4. (a) Explain the macro instruction argument.(b) Explain with an example, the macro within a macro definition. [8+8]5. Code the following routines.(a) Set the mode for 80 column monochrome.(b) Set the cursor size to start at line 5 and end at line.(c) Scroll up the screen to 10 loines.(d) Display 10 blinking “dots” with one half dots(hex 131) on. [4+4+4+4]6. (a) What is a file handle ? Explain the functions of INT 21H used to carry outthe following operations using file handles.i. Create fileii. Open fileiii. Write recordiv. Close file(b) What is an ASCIIZ string? Explain with the help of an example. [10+6]7. (a) What is BIOS INT 13H ? What are two major disadvantages of using BIOSINT 13H ? Explain.1 of 2  Code No: RR311501 Set No. 2 (b) Explain the basic disk functions carried out by BIOS INT 13H. [8+8]8. Compare and contrast the macro and a subroutine call. [16] ⋆ ⋆ ⋆ ⋆ ⋆ 2 of 2
Similar documents
View more...
We Need Your Support
Thank you for visiting our website and your interest in our free products and services. We are nonprofit website to share and download documents. To the running of this website, we need your help to support us.

Thanks to everyone for your continued support.

No, Thanks