| Electronic Components Datasheet Search |
|
ST20-GP6 Datasheet(PDF) 81 Page - STMicroelectronics |
|
|
|||||||||||||||||||||||||||||
ST20-GP6 Datasheet(HTML) 81 Page - STMicroelectronics |
|
81 / 123 page ![]() ST20-GP6 81/123 14.6.2 Software solutions If the user wishes to break on the nth occurrence of a given instruction using a counter in the DCU, then there is no problem associated with abortable instructions because the counter is adjusted on the completion of the instruction, not the start of the instruction. More specifically, the counter is adjusted when the CPU commits to executing the instruction; this may be at the completion of an abortable instruction, or it may be at an interrupt point in the middle of an interruptible instruction. In the more complex example, the user wishes to break on the nth occurrence of a given instruction in a given thread. In this case, a hardware break is set on the given instruction, and the breakpoint trap handler contains just enough code to distinguish the desired thread and decrement a counter in software. Of course, inserting the breakpoint makes the instruction appear to be abortable and the count is not reliable. However, if a pair of break points are used, and counting only takes place when the desired thread moves from the first to the second breakpoint, then a reliable count can be established. |
|
Link URL |
| Does ALLDATASHEET help your business so far? [ DONATE ] |
About Alldatasheet | Advertisement | Contact us | Privacy Policy | Link to Datasheet | Link Exchange | Manufacturer List All Rights Reserved©Alldatasheet.com |
| Russian : Alldatasheetru.com | Korean : Alldatasheet.co.kr | Spanish : Alldatasheet.es | French : Alldatasheet.fr | Italian : Alldatasheetit.com Portuguese : Alldatasheetpt.com | Polish : Alldatasheet.pl | Vietnamese : Alldatasheet.vn Indian : Alldatasheet.in | Mexican : Alldatasheet.com.mx | British : Alldatasheet.co.uk | New Zealand : Alldatasheet.co.nz |
|
Family Site : ic2ic.com |
icmetro.com |