
B–61863E–1/06
9. C-PROGRAM MEMORY DISPLAY
AND DEBUG FUNCTION
APPLICATION
PROGRAMMING GUIDE
431
When using the debug function, it is necessary to set break condition
items on the parameter screen. On a 9-inch CRT, press the <PAGE↓> key
to set the dump data area used when a break occurs.
(1) Setting parameters
PMC DEBUG (PARAM) MONIT RUN
BREAK POINT NO.1
BREAK SEG.ADR = 0103:00000100
BREAK COND. = 0 ( 0:E 1:W 2:RW )
ACCESS LENGTH = 0 ( 0:B 1:W 3:D )
PASS COUNT = 32767
TASK ID = 10 ( 0:ALL / 10-25 )
TASK STATUS = 0 ( 0:PASS 1:STOP )
BREAK AVAIL. = 0 ( 0:NO 1:YES )
>
[ D.DUMP ][ BRK.NO ][ EXEC ][ INIT ][ ]
Fig.9.3.3 (a) Break Condition Setting Screen
(a) BREAK SEG.ADR
Use a segment address to specify an execution address or data
access at which to break. Delimit the segment and offset using
EOB or any other non-alphanumeric character.
NOTE
Data access is made on an even–number boundary or
four–byte boundary, depending on the ACCESS LENGTH
type, which will be described later. Specify a break address
according to the compile list (list output on the machine
language level) or map after the link.
<Example>
When the break location is determined by GDT.NO = 32 and
OFFSET ADDRESS = 101, specify 103;101 as obtained
from the following calculation.
32 (GDT.NO) 8 + 3 = 259 = 103 (Hex)
D When BREAK SEG.ADR is set to 103;101 and ACCESS
LENGTH is set to WORD, access to 103;100 to 101
causes a break.
D When BREAK SEG.ADR is set to 103;101 and ACCESS
LENGTH is set to D.WORD, access to 103;100 to 103
causes a break.
(b) BREAK COND.
Set any of the following break conditions.
0 : (EXEC) : Sets a break at an execution address.
1 : (WRITE) : Sets a break for when a write occurs at the
specified address.
2 : (READ/WRITE): Sets a break for when a read or write
occurs at the specified address.
9.3.3
Parameter Screen