TMS320C5x DSP STARTER KIT USER'S GUIDE
TMS320C5x DSP STARTER KIT USER'S GUIDE TMS320C5x DSP STARTER KIT USER'S GUIDE
Quick-Reference Guide6.5 Quick-Reference GuideTable 6-12, Table 6-13, and Table 6-14 provide a quick-reference guide to thedebugger function key definitions, floating-point formats, and register definitions.Table 6–12.Debugger Function Key DefinitionsFunction KeyDescriptionF1F2F3F4F5F6F7F8F9F10Displays help informationPrints the contents of the screen to a file named screen.srnDisplays the directoryNot usedExecutes your program to the next breakpointNot usedNot usedSingle-steps your programNot usedSingle-steps your program and steps past callsF11 or SPACE F1 Displays the reverse assembly windowF12 or SPACE F2 Turns the trace on or off (this key acts as a toggle switch)Table 6–13.Debugger Floating-Point FormatsFloating-PointFormat.float.double.bfloat.tfloat.efloatDescription32-bit IEEE standardized floating-point format64-bit IEEE standardized double floating-point format16-bit exponent + 32-bit mantissa(exponent is 2s complement / mantissa = Q30)32-bit exponent + 64-bit mantissa(exponent is 2s complement / mantissa = Q62)16-bit exponent + 16-bit mantissa(exponent is 2s complement / mantissa = Q14)6-18
Quick-Reference GuideTable 6–14.Debugger Register DefinitionsRegister Definition DescriptionACCU Accumulator 32 bits with a carry in ST1ACCB Accumulator buffer 32 bits to temporarily storeACCUPREG Product register 32 bits used for 16 x 16 bitmultiplicationTRG0 Temporary multiplicand 16 bits for multiplication andspecial instructionsTRG1 Temporary register 1 5 bits for dynamic shiftTRG2 Temporary register 2 4 bits for bit pointer in bit testARi Auxiliary register 16 bits with i = 0, 7 used asa counter and pointerST0 Status register 0 16 bitsST1 Status register 1 16 bitsPMST Status register 16 bitsSPC Serial port control register 16 bitsSTCKi Stack register 16 bits with i = 0,7 used forhardware stacking †DRR Data receive register at address 32 16 bits for the serial portDXR Data transmit register at address 33 16 bits for the serial portTIM Timer register at address 36 16 bitsPRD Period register at address 37 16 bitsIMR Interrupt mask register at address 4 9 bits for masking 9 interruptsGREG Global register at address 5 8 bits to define data memoryas globalARP (ST0) Auxiliary register pointer 3 bitsOV (ST0) Overflow flag 1 bitOVM (ST0) Overflow mode 1 bitINTM (ST0) Interrupt mode (enable global interrupt) 1 bitDP (ST0) Data page pointer 9 bitsARB (ST1) Auxiliary register pointer buffer 3 bitsCNF (ST1) DARAM program/data configuration 1 bitTC (ST1) Test/control flag 1 bitSXM (ST1) Sign-extension mode enable 1 bitC (ST1) Carry bit 1 bitHM (ST1) Hold mode selection 1 bit† The debugger uses one stack level for itself.Using the DSK Debugger6-19
- Page 52 and 53: Using the DSK Assembler Directives5
- Page 54 and 55: Directives That Define Sections5.2
- Page 56 and 57: Directives That Reference Other Fil
- Page 58 and 59: Directives That Initialize Memory5.
- Page 60 and 61: Miscellaneous Directives5.6 Miscell
- Page 62 and 63: .byte/.stringDirectives ReferenceSy
- Page 64 and 65: .copy/.includeDirectives ReferenceL
- Page 66 and 67: .endDirectives ReferenceSyntax.endD
- Page 68 and 69: .float/.bfloat/.double/.efloat/.tfl
- Page 70 and 71: .if/.else/.endifDirectives Referenc
- Page 72 and 73: .liston/.listoffDirectives Referenc
- Page 74 and 75: .lqxx/.qxxDirectives ReferenceSynta
- Page 76 and 77: .mmregsDirectives ReferenceTable 5-
- Page 78 and 79: .setDirectives ReferenceSyntax symb
- Page 80 and 81: .spaceDirectives ReferenceListing f
- Page 82 and 83: .text / .psDirectives ReferenceExam
- Page 84 and 85: 5-34
- Page 86 and 87: Invoking the Debugger6.1 Invoking t
- Page 88 and 89: Invoking the DebuggerSetting the co
- Page 90 and 91: Using Pulldown Menus in the Debugge
- Page 92 and 93: Using Pulldown Menus in the Debugge
- Page 94 and 95: Using Pulldown Menus in the Debugge
- Page 96 and 97: Using Pulldown Menus in the Debugge
- Page 98 and 99: Using Dialog BoxesYou can omit entr
- Page 100 and 101: Using Software Breakpoints6.4 Using
- Page 104 and 105: Quick-Reference GuideTable 6-14.Deb
- Page 106 and 107: Circuit Board DimensionsFigure A-1.
- Page 108 and 109: Schematic DiagramP1594837261CONNECT
- Page 110 and 111: Schematic DiagramEODR\OUT-AUXIN-TCL
- Page 112 and 113: GlossaryCWindows that show code, te
- Page 114 and 115: GlossaryIIC:Integrated circuit. A t
- Page 116 and 117: Glossarysingle step: A form of prog
- Page 118 and 119: Indexconditional assembly, directiv
- Page 120 and 121: IndexinitializingCPU registers 6-10
- Page 122 and 123: IndexTtag, definition B-6temporary
Quick-Reference GuideTable 6–14.Debugger Register DefinitionsRegister Definition DescriptionACCU Accumulator 32 bits with a carry in ST1ACCB Accumulator buffer 32 bits to temporarily storeACCUPREG Product register 32 bits used for 16 x 16 bitmultiplicationTRG0 Temporary multiplicand 16 bits for multiplication andspecial instructionsTRG1 Temporary register 1 5 bits for dynamic shiftTRG2 Temporary register 2 4 bits for bit pointer in bit testARi Auxiliary register 16 bits with i = 0, 7 used asa counter and pointerST0 Status register 0 16 bitsST1 Status register 1 16 bitsPMST Status register 16 bitsSPC Serial port control register 16 bitsSTCKi Stack register 16 bits with i = 0,7 used forhardware stacking †DRR Data receive register at address 32 16 bits for the serial portDXR Data transmit register at address 33 16 bits for the serial portTIM Timer register at address 36 16 bitsPRD Period register at address 37 16 bitsIMR Interrupt mask register at address 4 9 bits for masking 9 interruptsGREG Global register at address 5 8 bits to define data memoryas globalARP (ST0) Auxiliary register pointer 3 bitsOV (ST0) Overflow flag 1 bitOVM (ST0) Overflow mode 1 bitINTM (ST0) Interrupt mode (enable global interrupt) 1 bitDP (ST0) Data page pointer 9 bitsARB (ST1) Auxiliary register pointer buffer 3 bitsCNF (ST1) DARAM program/data configuration 1 bitTC (ST1) Test/control flag 1 bitSXM (ST1) Sign-extension mode enable 1 bitC (ST1) Carry bit 1 bitHM (ST1) Hold mode selection 1 bit† The debugger uses one stack level for itself.Using the DSK Debugger6-19