0
$\begingroup$

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

$\endgroup$
1
  • $\begingroup$ 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$? $\endgroup$ Jan 14 at 8:24

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.