This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

The length of segment ?STACK

LINK MAP OF MODULE: 6H (DISPBIOS)


TYPE BASE LENGTH RELOCATION SEGMENT NAME
-----------------------------------------------------

IDATA 005DH 0001H UNIT ?STACK


Q:How was the length of segment ?STACK calculated?

Parents
  • The length and of segment stack isn't calculated! It is defined in the STARTUP.A51, like this:

    ?STACK SEGMENT IDATA
    RSEG ?STACK
    DS 1

    By default L51 locates stack in the end of IDATA memory, and phisical size is
    RAMTOP-STACK = 0ffh( or 07fh for 51)- 005DH = 162 (or 34) bytes.

Reply
  • The length and of segment stack isn't calculated! It is defined in the STARTUP.A51, like this:

    ?STACK SEGMENT IDATA
    RSEG ?STACK
    DS 1

    By default L51 locates stack in the end of IDATA memory, and phisical size is
    RAMTOP-STACK = 0ffh( or 07fh for 51)- 005DH = 162 (or 34) bytes.

Children