We are here with you hands in hands to facilitate your learning & don't appreciate the idea of copying or replicating solutions. Read More>>
+ 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.
Write an assembly language code to print your VU ID and Name as shown in example figure given below
using String Instructions.VU ID and Name text color must be green and it should have blue background. Explain each instruction of program and also provide/paste snapshot of final output on the Screen.
Note: Before displaying VU ID and Name on screen, clear the screen. You will not be able to display VU ID and Name on screen in Windows so you will have to use the DOSBOX
1. Print your own VU ID and Name on screen otherwise your file will be awarded zero marks.
2. You will submit your code written in Word file.
.+ 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)
Discussion started for the second assignment please post assignment related issues. Discuss assignment related problems to get better idea to solve this.
Please Discuss here about this assignment.Thanks
Our main purpose here discussion not just Solution
We are here with you hands in hands to facilitate your learning and do not appreciate the idea of copying or replicating solutions.
ye tu bahot asan
kaisy easy hai bro mujhy to koi samjh nai ati assembly language ki.aap ko kaisy aa jati hai
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....
Here is the solution it is not perfect one You all are advised to manipulate code and make it exactly same to given one.
message: db 'BC140402312 Imtiaz Azeem'
; subroutine to clear the screen
clrscr: push es
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, 3000 ; number of screen locations
cld ; auto increment mode
rep stosw ; clear the whole screen
mov ah, 0x13 ; service 13 - print string
mov al, 1 ; subservice 01 – update cursor
mov bh, 0 ; output on page 0
mov bl, 7 ; normal attrib
mov dx, 0x0F07 ; row 10 column 3
mov cx, 24 ; length of string
pop es ; segment of string
mov bp, message ; offset of string
int 0x10 ; call BIOS video service
mov ax, 0x4c00 ; terminate program
Write an assembly language code to print your VU ID and Name as shown in example figure given below using String Instructions.VU ID and Name text color must be green and it should have blue background.
Thanks Imtiaz Bhai.. but VU ID and Name text color must be green and it should have blue background.??
what commands you have use in dosbox
mount m: d:\assembly
nasm exo1.sm -oex01.com -l ex01.list
and what next?
mount m d:\assembly
nasm filename.asm -o filename.com -l filename.lst
then filename.com wali command deni ha and enter
kafi time ho gya 401 prhy hue exact yad ni ap ye steps try kr k dekh len