<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">

<html>
<head>
  <meta http-equiv="Content-Type" content="text/html; charset=us-ascii">

  <title>RCST7 - C203</title>
  <link rel="stylesheet" type="text/css" href="errors.css">
</head>

<body>
  <h1><a name="RCST7-C203" id="RCST7-C203"></a>RCST7 ERROR C203</h1>
  <!-- Note that the header should be non scrollable, so that it always
     remains on top even if the user scrolls down a loooong text. -->
  <!-- This is the Error title -->

  <h2>pointer: different mspace</h2>

  <p>You are performing an operation with two pointers pointing in different
  memory spaces</p>

  <h2>Example</h2>
  <pre>
data int *a;
page0 int *b;

void foo(void)
{
   b=a;
}
</pre>

  <h2>Resolution</h2>

  <p>Ensure that you are always storing a pointer in a pointer of large size.
  For instance, a "data *" or a "code *" pointer is 2-bytes large; a "page0
  *" pointer is 1-byte large; and a "fdata *" (far data) is 3-bytes large
  (24-bits addressing).</p><!--Footer Start-->

  <div class="footer">
    <hr>
    <!--Copyright-->

    <p>&copy; Raisonance S.A.S. 1987-2007. All rights reserved.</p>
  </div><!--Closes the footer div-->
  <!--FOOTER_END-->
</body>
</html>
