How To Exam?

a knowledge trading engine...


Jaypee Institute of Information Technology (JIIT) 2007 B.Tech Computer Science and Engineering assebly langprogramming - Question Paper

Tuesday, 02 April 2013 01:35Web

JUIT WAKNAGHAT...........

PRACTICE ques. SET
Assembly Language Programming




1 .Write the assembly language program for the subsequent code stored in the memory of the basic computer.


LDA AL // Load low order bytes of AX register
ADD BL // Add BL, low
STA CL //store the outcome in CL, low
CLA // clear AC
ADD AH //Add A, high
ADD BH // Add B, high
STA CH
HLT

presume the improper values where ever needed. Write comment for every line of code in ALP.

2. Write the assembly language program to multiply 2 positive numbers by repeated addition method. For example: to multiply 5x4, the program evaluates the product by adding five 4 times like 5+5+5+5.
Hint: Use loops

3. Write the equivalent ALP for the subsequent line of code

Register = Mul * B // presume B= 05
Register = Mul +B
Register = Mul – B
Register = Register + B

4. discuss the various categories of the registers in 8086 microprocessor. Represent the bits of every registers diagrammatically.

5. elaborate the basic building blocks of the computer storage?

6. What is the length of the subsequent data items:
a. snippet
b. Word
c. Double-word
d. Byte
e. Kilobyte

7. What is the main function of the processor?

8. discuss the subsequent terms
a. segment
b. offset

9. discuss which registers are used for the subsequent purposes
a. Counting for looping
b. Multiplication and division
c. Addition and subtraction

10. Show the EBX register and the size and position of BH, BL and BX within it.











( 0 Votes )

Add comment


Security code
Refresh

Earning:   Approval pending.
You are here: PAPER Jaypee Institute of Information Technology (JIIT) 2007 B.Tech Computer Science and Engineering assebly langprogramming - Question Paper