| Electronic Components Datasheet Search |
|
AVR32AP Datasheet(PDF) 131 Page - ATMEL Corporation |
|
|
|||||||||||||||||||||||||||||
AVR32AP Datasheet(HTML) 131 Page - ATMEL Corporation |
|
131 / 181 page ![]() 131 32001A–AVR32–06/06 AVR32 9.5.2.1 Instruction count packet In several of the program trace messages, an Instruction Count (I-CNT) packet is included, to identify the number of sequentially executed instruction units since the last program trace mes- sage. In AVR32, this figure refers to bytes, i.e. compact instructions count two bytes and extended instructions are four bytes. The following rules apply to instruction counts: • A taken indirect branch which generates a trace message is not included in the instruction count. • An indirect branch which is not taken is included in the instruction count. • Speculatively fetched instructions are not counted until they are actually executed. • The instruction counter is reset every time a program trace message is generated. 9.5.2.2 Compressed program counter packets To save bandwidth, the Nexus messages employ compressed versions of the program counter address. These include: U-ADDR = StripLeadingZeros (Previous sent addr xor uncompressed address from pipeline). F-ADDR = Full target address for a taken branch. Leading zeroes may be truncated. 9.5.3 Special cases 9.5.3.1 Debug Mode When entering Debug Mode, a PTC message is generated with EVCODE = 0. When exiting Debug Mode, a PTSY message is generated. If the instruction also generates a branch message, the branch message with sync (i.e. PTDBS or PTIBS) is generated instead of PTSY. In this case, the address of the instruction which generated the branch message can not be explicitly reconstructed from the trace log, but the debugger will normally know which address was returned to when Debug Mode was exited. If a breakpoint occurs on the first instruction after exiting Debug Mode, a PTC message with EVCODE = 0 is generated. 9.5.4 Messages 9.5.4.1 Program Trace, Direct Branch This message is output by the target processor whenever there is a change of program flow caused by a conditional or unconditional branch. The instruction count (I-CNT) is included to identify the branch address. The following AVR32 instructions can cause a direct branch: Table 9-33. Direct branch instructions Mnemonic Description br{cond3} Compact Branch if condition satisfied. br{cond4} Extended rjmp Compact Branch if condition satisfied. |
|
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 |