www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1994/10/05/01:57:42

Date: Sun, 2 Oct 1994 15:11:11 -0600 (MDT)
From: Calimath / Sliced Bread <sl5h9 AT cc DOT usu DOT edu>
Subject: segment:offset notation
To: DJGPP mailing list <djgpp AT sun DOT soe DOT clarkson DOT edu>

   I need to know how to convert a standard memory address to segment 
offset notation.  If I do this will it work? :

segment = address / 16

offset = address % 16

  or is that entirely wrong?

   Thanks.

                     -Jon (sl5h9 AT hyrum DOT declab DOT usu DOT edu)


- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019