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

Answer of Q.No.01

#include <dos.h>

 #include <bios.h>

 char st[100];

 unsigned long int temp;

 unsigned int i;

 unsigned int count=100;

void main (void)


 temp=(unsigned long int)_DS;

 temp = temp 4L;

 i = *((unsigned int *)(&temp));

 temp = temp>>16L;

outportb (0x83,*((unsigned char *)(&temp)));

 outportb(0x02,*(((unsigned char *)(&i))));

 outportb(0x02,*(((unsigned char *)(&i))+1));


 outportb(0x03,*((unsigned char *)(&count)));

 outportb(0x03,*(((unsigned char*)(&count))+1));






Answer of Q.No.02

The required function is given below:

if(BPB_FATSz16 != 0)




 if(BPB_TotSec16 != 0)

 TotSec = BPB_TotSec16;


 TotSec = BPB_TotSec32;

DataSec = TotSec – (BPB_ResvdSecCnt + (BPB_NumFATs * FATSz) + RootDirSectors);

CountofClusters = DataSec / BPB_SecPerClus;

if(CountofClusters < 4085)

 /* Volume is FAT12 */

else if(CountofClusters < 65525)

 /* Volume is FAT16 */


/* Volume is FAT32 */

+ Click Here To Join also Our facebook study Group.

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

See Your Saved Posts Timeline

Views: 280


+ 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?)

Replies to This Discussion

ye thk h 2nd wala

is this correct


Latest Activity

+"illegal weapon"++ posted a discussion
2 hours ago
+"illegal weapon"++ replied to + "αяsαℓ " Ќąƶµяɨ •"'s discussion Gham e Ashiqi tera shukriya...!
2 hours ago
+AH+ updated their profile
2 hours ago
+++Ayesha+++ replied to 2.O's discussion Voice Password :P :P
3 hours ago
+++Ayesha+++ updated their profile
3 hours ago
+ ! Ryan updated their profile
3 hours ago
Anu malik mcs updated their profile
3 hours ago
+ ! Cʜocoɭʌtƴ Ɓoƴ replied to ùήķήόώή şόùĻ's discussion Dard ..
3 hours ago

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

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