On Tue, 2018-02-27 at 02:35 +0100, [email protected] wrote:
> Let me now describe the format that results from these observations,
> without fixing the numerical constants.  The pointer formats are:

Forgot to include the far pointer format; it is, of course,

  +--+-+--------------------------+---------------+---------------+
  |Ty|M|        Pad offset        |  Pad segment  |  Obj segment  |
  +--+-+--------------------------+---------------+---------------+

  Ty          ( 2 bits) = "far pointer"
  M           ( 1 bit ) = more bit
  Pad offset  (29 bits) = offset of pad, in words
  Pad segment (16 bits) = segment of pad
  Obj segment (16 bits) = segment of object

The destination object is referred to by the pointer located at (Pad
segment):(Pad offset) (the "landing pad"), with the offset inside the
pointer being interpreted relative to (Obj segment).

Alex

-- 
You received this message because you are subscribed to the Google Groups 
"Cap'n Proto" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
Visit this group at https://groups.google.com/group/capnproto.

Reply via email to