Join Examsbook
1354 0

Q: How would you obtain segment and offset addresses from a far address of a memory location?

  • Show AnswerHide Answer
  • Workspace

Answer :
Explanation :

#include "dos.h" main() {     Char far *scr = ( char far *) 0xB8000000;     Char *seg, *off;     Seg = (char *) FP_SEG ( scr );     Off = ( char *) FP_OFF ( scr ); }

Are you sure

  Report Error

Please Enter Message
Error Reported Successfully