TRACING AND DEBUGGING
9-7
9
Application code requests modification rights by executing the
sysctl
instruction and issuing the
Breakpoint Resource Request message (src1.Message_Type = 06H). In response, the current
available breakpoint resources will be returned as the src/dst parameter (src/dst must be a register).
The src2 parameter is not used. Results returned in the src/dst parameter must be interpreted as
shown in
Table 9-1
.
The following code sample illustrates the execution of the breakpoint resource request.
ldconst 0x600, r4
# Load the Breakpoint Resource
# Request message type into r4.
sysctl r4, r4, r4
# Issue the request.
Assume in this example that after execution of the
sysctl
instruction, the value of r4 is
0000 0022H. This indicates that the application has gained modification rights to both instruction
and both data address breakpoint registers. If the value returned is zero, the application has not
gained the rights to the breakpoint resources.
Because the i960 Jx processor does not initialize the breakpoint registers from the control table during
initialization (as i960 Cx processors do), the application must explicitly initialize the breakpoint
registers in order to use them once modification rights have been granted by the
sysctl
instruction.
9.2.7.4
Breakpoint Control Register
The format of the BPCON registers are shown in
Figure 9-2
and
Figure 9-3
. Each breakpoint has
four control bits associated with it: two mode and two enable bits. The enable bits (DABx.e0,
DABx.e1) in BPCON act to enable or disable the data address breakpoints, while the mode bits
(DABx.m0, DABx.m1) dictate which type of access will generate a break event.
Table 9-1.
src/dst Encoding
src/dst 7:4
src/dst 3:0
Number of Available Data Address Breakpoints
Number of Available Instruction Breakpoints
NOTE:
src/dst
31:8 are reserved and will always return zeroes.
Содержание i960 Jx
Страница 1: ...Release Date December 1997 Order Number 272483 002 i960 Jx Microprocessor Developer s Manual ...
Страница 24: ......
Страница 25: ...1 INTRODUCTION ...
Страница 26: ......
Страница 35: ...2 DATA TYPES AND MEMORY ADDRESSING MODES ...
Страница 36: ......
Страница 46: ......
Страница 47: ...3 PROGRAMMING ENVIRONMENT ...
Страница 48: ......
Страница 73: ...4 CACHE AND ON CHIP DATA RAM ...
Страница 74: ......
Страница 85: ...5 INSTRUCTION SET OVERVIEW ...
Страница 86: ......
Страница 111: ...6 INSTRUCTION SET REFERENCE ...
Страница 112: ......
Страница 195: ...INSTRUCTION SET REFERENCE 6 83 6 Opcode mov 5CCH REG movl 5DCH REG movt 5ECH REG movq 5FCH REG See Also LOAD STORE lda ...
Страница 233: ...7 PROCEDURE CALLS ...
Страница 234: ......
Страница 256: ......
Страница 257: ...8 FAULTS ...
Страница 258: ......
Страница 291: ...9 TRACING AND DEBUGGING ...
Страница 292: ......
Страница 309: ...10 TIMERS ...
Страница 310: ......
Страница 324: ......
Страница 325: ...11 INTERRUPTS ...
Страница 326: ......
Страница 369: ...12 INITIALIZATION AND SYSTEM REQUIREMENTS ...
Страница 370: ......
Страница 412: ......
Страница 413: ...13 MEMORY CONFIGURATION ...
Страница 414: ......
Страница 429: ...14 EXTERNAL BUS ...
Страница 430: ......
Страница 468: ......
Страница 469: ...15 TEST FEATURES ...
Страница 470: ......
Страница 493: ...A CONSIDERATIONS FOR WRITING PORTABLE CODE ...
Страница 494: ......
Страница 502: ......
Страница 503: ...B OPCODES AND EXECUTION TIMES ...
Страница 504: ......
Страница 515: ...C MACHINE LEVEL INSTRUCTION FORMATS ...
Страница 516: ......
Страница 523: ...D REGISTER AND DATA STRUCTURES ...
Страница 524: ......
Страница 550: ......
Страница 551: ...GLOSSARY ...
Страница 552: ......
Страница 561: ...INDEX ...
Страница 562: ......
Страница 578: ......