1. Re: Low Level Mem Question & Return

>Date:    Wed, 24 Jun 1998 10:11:40 -0400
>From:    Alan Tu <ATU5713 at COMPUSERVE.COM>
>Subject: Re: Low Level Mem Question & Return
>
>Runtime error 200 at 1B14:0091.
>
>If I should multiply by 16 to get a linear address, shouldn't the offset =
>be
>no greater than f?  1B14:0091, couldn't this be better represented by
>1B1D:1
>
>Or, can a single byte be represented in infinite ways in real mode?

    1B14:0091 = 1000:B1D1 = 1B1D:0001 = ...

    yes, infinite ways.

    However the preferred method is to have it your way, the offset
    (number before : is segment, number after : is offset)
    is between #0000 and #000F. It's called normalized address.

    Some circumstances require that the segment be fixed, and so you
    have to resort to using greater offsets...

new topic     » topic index » view message » categorize

Search



Quick Links

User menu

Not signed in.

Misc Menu