0% found this document useful (0 votes)
15 views2 pages

Macro vs Procedure in Assembly Language

The document outlines a series of assignments related to macros and procedures in assembly language programming, covering definitions, comparisons, and examples. It includes tasks such as writing assembly language programs (ALPs) for mathematical operations and explaining concepts like re-entrant and recursive procedures. The assignments span multiple semesters, indicating a structured curriculum focused on understanding and applying assembly language techniques.

Uploaded by

chetanshelar254
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
15 views2 pages

Macro vs Procedure in Assembly Language

The document outlines a series of assignments related to macros and procedures in assembly language programming, covering definitions, comparisons, and examples. It includes tasks such as writing assembly language programs (ALPs) for mathematical operations and explaining concepts like re-entrant and recursive procedures. The assignments span multiple semesters, indicating a structured curriculum focused on understanding and applying assembly language techniques.

Uploaded by

chetanshelar254
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd

Assignment No.

Summer 2019
Unit 5

Q.1 Define Macro & Procedure.

Q.2 Compare Macro & Procedure.

Q.3 With the neat sketches demonstrate the use of re-entrant and recursive procedure.

Q.4 write an ALP using procedure to solve equation such as Z=(A+B)*(C+D).

Q.5 write an ALP using Macro to perform multiplication of two 8 bit unsigned numbers.

Winter2024

Q.6 Compare procedure and Macro based on

i)Length of code

ii) Calling method

iii) Generation of object code

iv) Passing parameter

Q.7 Write an ALP to solve p = x² + y² using macro. (x and y are 8 bit nos.)

Q.8 Describe re-entrant and recursive procedure with schematic diagram.

Summer 2024
Q.9 Define Macro with Syntax.

Q.10 Differentiate between NEAR and FAR procedure calls. (Any 4 points).

Q.11 Explain re-entrant and recursive procedure with schematic diagram.

Summer 2023
Q.12 Explain MACRO with suitable example. List four advantages of it.

Winter2023
Q.13 Define procedure and write its syntax.

Q.14 Write an ALP for Z=(P+Q)*(R+S) using MACRO. Draw flow chart of the same.

Summer 2022
Q.15 Write a MACRO to perform 32 bit by 16 bit division of unsigned numbers.

Q.16 Write an ALP to subtract two BCD number using procedure.

Winter2022
Q.17 What do you mean by procedure ? Explain its re-centrant and re-entrant procedure

Q.18 Write a procedure to find factorial of given number.

Q.19 Describe with suitable example how parameter is passed on the stack in 8086 assembly language
procedure.

You might also like