VUDESK

¤Virtual University Of Pakistan Network¤

Subjective:
Total there were 6 questions
Q:1 page no 99 Explain the following instructions (solved)
mov ax, 80
; load chars per row in ax
mul byte [bp+4]
calculate source position
mov si, ax
; load source position in si
push si
; save position for later use
shl si, 1
convert to byte offset

Q:2 How many bites will be moved by each of the following bloc of codes.


Mov cx, 384
REP movsb
Mov cx, 384
REP movsw
Q:3

Write codes in assembly language of the following pseudo codes.

If al>Cl AND bl>al
{
dx=1
}
Q:4 How Ip changes and updated when call instruction is executed.

When Call instruction is executed the stack pointer (SP) is decremented by 2 and value of IP is pushed onto
stack.
Q:5 Write Procedure to clear selective bits. 

The source operand is loaded with a mask containing one at positions which are retain their old value and zero
at positions which are to be zeroed. The effect of applying this operation on the destination with mask in the
source is to clear the desired bits. This operation is called masking.
Q:6 Which single instruction can be used at the place of

dec 5

jnz label

Tags: 2012, Architecture, Assembly, CS401, Computer, Language, Programming-midterm, and, may, paper, More…spring

Views: 64

Replies to This Discussion

Advertise Here

Q.1what are the insert use by assembly language for permanent
diversion and temporarily diversion?
Q.2 write the names od all blocks processing inst available in 8088 processor?
Q.3 how string instructed work on a block of data?

Intrupts are asyncronous, what does it mean? (2)
What is the wrong with this code? (2)
Mov Ds, 0x123
Name the block of processing use in IPX88? (3)
How stacks behave like LIFO? (3)
How scas can be use to detect the Null character? (5)
Write codes in assembly language of the following pseudo codes.(5)

If al>Cl AND bl>al
{
dx=1
}

Almost all the MCQ's were form past papers

And question were not form past papers

register names (2Marks)

How to convert two dimensional video to one dimensional (2Marks)

How a character is displayed on the screen (Marks5)

One question was about subroutine

JazakAllah

RSS

*Member OF Week*

1. +""+""+Gemini+""+""+

karachi, Pakistan

=======================

Popular Social Events

=======================

+ Member of the Day

+ Member of the Week

+ Member of the Month

+ Member of the Year

+ Miss VU

+ Mr VU

+ Gold Members

+ Vote for Miss VU

+ Vote for Mr VU

+ Members Points Table

+ Profile Points Allocation

+ Competition Corner

+ Our Fans Club

+ Certificate Winners

---------------------------------------

௵ Scholars Of Desk

 Gold Members

 MR VU,S

௵ MISS VU,S

 Members Of Month

 Team Members

 Moderators 

  ADMINS

ʭAdministrationʭ

Senior Admin : Yasmeen

VUDESK Owner : Ismail Shah

DMCA.com

VUDESK GROUPS

© 2013   Created by ʭIsmail Shahʭ.

Badges  |  Report an Issue  |  Terms of Service

-->