You are on page 1of 3

UNIT 1 ASSEMBLER

1.Draw and explain micro flowchart for the following instructions


ADD R2, 176
2. Explain with example different instructions formats of IBM360/370

3.Draw and explain general machine structure of IBM 360/370


4. What is the work of following pseudo-op?
a USING b START c END d EQU e DC and DS
5. Difference between BALR and USING
6. Describe the overview of a pass1 of an assembler with the description of the data structure used
in it.
7. Describe the overview of a pass2 of an assembler with the description of the data structure used
in it.
8. Discuss the pass 1 and pass 2 of an assembler in brief(details)?
9. Discuss the formats of data bases used in pass 1 and pass 2 of an assembler?
10. Explain the use of data structures in the assembler
11. Explain the two-pass assembler in detail with block diagram
12. What data structures are required in pass I of an assembler? Describe in brief
14. Define DROP and USING.
15. What is the significance of AIF and AGO.
16. Write short notes on :
a. System programming
b. Conditional macro expansions
17. What is the difference between pseudo opcode and machine opcode
18. What are the advantage and disadvantage of assembler

19.
20. Discuss in detail the first pass of assembler with its algorithms. (algorithm means flowchart)
21.
UNIT 2 MACROPROCESSOR
1. Describe the conditional macro expansion facilities with suitable example
*What are macro instruction arguments? Explain
2 Describe the structure of BT (Base Table) used in pass 2 of assembler?
3. what are the three main data structure used by Macro Processor

4. What is dummy argument in macro? Explain with example


5. Describe the databases used in pass 1 of macro processing.

6. Give Pass-1 and Pass-2 Flowchart for macro processor.

7. State and explain algorithm for one pass Macro processor(Macro defination within Macro defination
flowchart)

8. What are the advantages of the Macro?


9. Define MDT and MNT
11.
Give MDT, MNT and ALA entries for the following Program.

MACRO
DEFINE &SUB
MACRO
&SUB &Y
CNOP 0, 4
BAL 1, *+*
DC A(&Y)
L 15, =V(&SUB)
BALR 14,15
MEND
MEND

The above macro is called with the statement


DEFINE COS

12.Discuss the significance of macro processing in system programming?


13. What is a macro? Define the structure of a macro?
14. Discuss the feature of macro?
15. With an example discuss macro with arguments?
16. With an example discuss macro calls within macro
17.With an example discuss macro with conditional statements
18. What is Macro? Why do we use macro? Explain the macro expansion with assembly code.
Explain the necessity of stack for implementing macro call within macro definition(not covered yet)
Explain stack structure in Macro call within macro(not covered yet)

*Prepare all MACRO features


*Algorithm means flowchart
*This is only for reference

You might also like