[<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
 ABSOLUTE           Define Variable at Absolute Address               pp 203

 Syntax:  Absolute Segment : Offset

 Type:    Far Pointer

 Form:    Declaration

 Purpose: Declare a variable to reside in a specific memory location.

 Notes:   Standard identifiers Cseg and Dseg can be used to place
          variables at absolute addresses within the Code and Data
          segments.  More than one variable can be declared at any
          given address.


 ----------------------------------------------------------------------------



 Usage:
       VAR
          Com1       : Integer Absolute $0000:$0400               ;
          ScrnWidth  : Byte Absolute $0000:$0417                  ;
          CmdTail    : String [128] Absolute Cseg:$0080           ;
          CmdTailLen : Byte Absolute CmdTail                      ;
          Buffer     : Array [0..$3FFF] of Byte Absolute $B800:$0 ;

See Also: Addr Cseg Dseg Ofs Pointer Ptr Seg
This page created by ng2html v1.05, the Norton guide to HTML conversion utility. Written by Dave Pearson