# Is logical to physical address conversion inclusive?

If I am trying to translate a logical address of page N and offset O, and my translation unit tells me the translation has a base address of B and a length of L, is the length L inclusive or will it trap the OS?

Basically is the address valid if 0 <= O <= L or if 0<=O<L

• Length is a self-explanatory category. The length of the list $x_1,x_2,x_3,x_4$ is $4$, for example. How many addresses are in the range $0 \le O \le L$? How many in the range $0 \le O < L$? Jan 14 at 8:24