
8. FUNCTIONS FOR DISPLAYING MEMORY
AREAS AND DEBUGGING
THE PROGRAM (MONIT)
B–61863E/15
PMC PROGRAMMER (CRT/MDI)
594
The segment information of the following areas defined by a user program
for each task can be displayed and the contents of the areas can be dumped.
D Data area
D Stack area
D Common memory area
The PMC management software dynamically allocates the areas
mentioned above at locations which are different from those defined by
the user program.
The system allocates the data area at activation. When the system is not
activated after the user program has been loaded, the data area is located
at the address defined by the user program. Be sure to refer to the area after
the system starts.
The following figure shows the soft keys related to this function.
GDT USRMEM DEBUG
TASK.D TASK.S COM.D M.DUMP
NEXT
RET
SEARCH INPUT
BYTE WORD D.WORD
RET
(1) Press the [USRMEM] soft key. Depending on which soft key is
pressed next (see below), the task memory information of a user
program is displayed on the screen as shown in Fig. 8.2.1 (a) to (c).
Soft keys
[TASK. D] : Displays the information of allocating task data.
[TASK. S] : Displays the information of allocating task stacks.
[COM.D] : Displays the information of common memory
allocation.
(2) A task data area and stack area are displayed for each task ID. The
information for all the common memory defined by user link control
statements is displayed.
(3) Pressing the [M. DUMP] key on each allocation information screen
enables the contents of the memory related to the item which is
displayed at the top to be dumped.
(4) Operation on the memory dump screen is the same as that described
in Section 8.1.
(5) When bit 4 of keep relay K17 is set to 1, the contents of RAM can be
changed in units of the specified length on the memory dump screen
by moving the cursor to the data to be changed.
8.2
DISPLAYING THE
MEMORY
ALLOCATION
INFORMATION OF A
USER PROGRAM
CODED IN C.
8.2.1
Operation