We are here with you hands in hands to facilitate your learning & don't appreciate the idea of copying or replicating solutions. Read More>>

Looking For Something at vustudents.ning.com? Click Here to Search


+ Link For Assignments, GDBs & Online Quizzes Solution


+ Link For Past Papers, Solved MCQs, Short Notes & More

Dear Students! Share your Assignments / GDBs / Quizzes files as you receive in your LMS, So it can be discussed/solved timely. Add Discussion

How to Add New Discussion in Study Group ? Step By Step Guide Click Here.

Assignment No.2                                                                                    Dated:Jan 12, 18

Dear Students,

Assignment No.2 has been uploaded; its due date is Thursday, 18- January -2018.

Note 1: Assignment will not be accepted via email in any case. Upload your assignment on VU-LMS with in due date.

Note 2: All times on VU-LMS as according to Pakistan Standard Time (PKT)

+ How to Follow the New Added Discussions at Your Mail Address?

+ How to Join Subject Study Groups & Get Helping Material?

+ How to become Top Reputation, Angels, Intellectual, Featured Members & Moderators?

+ VU Students Reserves The Right to Delete Your Profile, If?

See Your Saved Posts Timeline

Views: 23729


+ http://bit.ly/vucodes (Link for Assignments, GDBs & Online Quizzes Solution)

+ http://bit.ly/papersvu (Link for Past Papers, Solved MCQs, Short Notes & More)

+ Click Here to Search (Looking For something at vustudents.ning.com?)

+ Click Here To Join (Our facebook study Group)


Replies to This Discussion

Can you plz send me code before 10.... I am facing net issues. Only code is required I know how to execute the prog......

plz mjy bna den mri id mc120202787

shoaib cheema can u prepare asg for me my id is mc120202787

kindly send it immediately. I am so worried about it please.

Bro kindly snd me the CS401 assignment solution plz

ID bs150401795

has the date for this assignment been extended or not????

yes the date has been  extended  till 20th jan

Date not extended


Dear Students Don’t wait for solution post your problems here and discuss ... after discussion a perfect solution will come in a result. So, Start it now, replies here give your comments according to your knowledge and understandings....

send me correct code i will make video and upload here in one hour for ur ease thankx for text message 03495044797

[org 0x0100]
jmp start
message: db 'your IDs' ; string to be printed
length: dw 20 ; length of string
clrscr: push es
push ax
push cx
push di
mov ax, 0xb800
mov es, ax ; point es to video base
xor di, di ; point di to top left column
mov ax, 0x0720 ; space char in normal attribute
mov cx, 2000 ; number of screen locations
cld ; auto increment mode
repstosw ; clear the whole screen

pop di
pop cx
pop ax
pop es

; subroutine to print a string
; takes the x position, y position, attribute, address of string and
; its length as parameters

printstr: push bp
mov bp, sp
push es
push ax
push cx
push si
push di
mov ax, 0xb800
mov es, ax ; point es to video base
mov al, 80 ; load al with columns per row
mul byte [bp+10] ; multiply with y position
add ax, [bp+12] ; add x position
shl ax, 1 ; turn into byte offset

mov di,ax ; point di to required location
mov si, [bp+6] ; point si to string
mov cx, [bp+4] ; load length of string in cx
mov ah, [bp+8] ; load attribute in ah
cld ; auto increment mode

nextchar: lodsb ; load next char in al
stosw ; print char/attribute pair
loopnextchar ; repeat for the whole string
pop di
pop si
pop cx
pop ax
pop es
pop bp
ret 10

start: call clrscr ; call the clrscr subroutine
mov ax, 10
push ax ; push x position
mov ax, 15
push ax ; push y position
mov ax, 0x12 ; blue on black attribute
push ax ; push attribute
mov ax, message
push ax ; push address of message
push word [length] ; push message length
callprintstr ; call the printstr subroutine
mov ax, 0x4c00 ; terminate program
int 0x21


© 2020   Created by +M.Tariq Malik.   Powered by

Promote Us  |  Report an Issue  |  Privacy Policy  |  Terms of Service