[PDF] PRU Assembly Language Tools v2.2 Users Guide (Rev. B)





Previous PDF Next PDF



ARM Assembly Language Tools v18.1.0.LTS Users Guide (Rev. U)

The ARM Assembly Language Tools User's Guide explains how to use the following Texas Instruments. Code Generation object file tools: • Assembler. • Archiver.



PRU Assembly Language Tools v2.2 Users Guide (Rev. B)

The PRU Assembly Language Tools User's Guide explains how to use the following Texas Instruments. Code Generation object file tools: • Assembler. • Archiver.



ARM Assembly Language Tools v20.2.0.LTS Users Guide (Rev. Y)

The ARM Assembly Language Tools User's Guide explains how to use the following Texas Instruments. Code Generation object file tools: • Assembler. • Archiver.



TMS320C6000 Assembly Language Tools v8.2.x Users Guide (Rev

The TMS320C6000 Assembly Language Tools User's Guide explains how to use the following Texas. Instruments Code Generation object file tools: • Assembler.



16-Bit Language Tools Libraries

A guide to installing and working with the Microchip language tools for Free versions of the 16-bit language tool libraries are available from the ...



Evaluating Language Tools for Fifteen EU-official Under-resourced

Proceedings of the 12th Conference on Language Resources and Evaluation (LREC 2020) selection of language tools and languages that were used.



TMS320C28x Assembly Language Tools v22.6.0.LTS Users Guide

The TMS320C28x Assembly Language Tools User's Guide explains how to use the following Texas Instruments. Code Generation object file tools: • Assembler.



MSP430 Assembly Language Tools v18.1.0.LTS Users Guide (Rev

The MSP430 Assembly Language Tools User's Guide explains how to use the following Texas. Instruments Code Generation object file tools: • Assembler.



TMS320C28x Assembly Language Tools v21.6.0.LTS Users Guide

How to Use This Manual. This book helps you learn how to use the Texas Instruments object file and assembly language tools designed.



TMS320C55x Assembly Language Tools Users Guide (Rev. I)

Read This First. About This Manual. The TMS320C55x Assembly Language Tools User's Guide explains how to use these assembly language tools: • Assembler.

PRUAssemblyLanguageToolsv2.2

www.ti.com www.ti.com www.ti.com www.ti.com www.ti.com www.ti.com www.ti.com {printf("helloworld\n");}

B,bSuffix - binaryintegerH,hSuffix - hexadecimalintegerLSBLeastsignificantbitMSBMostsignificantbit0xPrefix - hexadecimalintegerQ,qSuffix - octalinteger

RelatedDocumentationFromTexasInstrumentswww.ti.com12SPRUHV6B-October2017SubmitDocumentationFeedbackCopyright©2017,TexasInstrumentsIncorporatedReadThisFirstRelatedDocumentationFromTexasInstrumentsSeethefollowingresourcesforfurtherinformationabouttheTICodeGenerationTools:•TexasInstrumentsWiki:Compilertopics•TexasInstrumentsE2ECommunity:CompilerforumYoucanusethefollowingbookstosupplementthisuser'sguide:SPRUHV7 - PRUOptimizingC/C++CompilerUser'sGuide.DescribesthePRUC/C++compiler.ThisC/C++compileracceptsANSIstandardC/C++sourcecodeandproducesassemblylanguagesourcecodeforthePRUdevice.TexasInstrumentsWiki - ProgrammableRealtimeUnitSoftwareDevelopment.ProvidesinformationaboutsoftwaredevelopmentforthePRUdeviceandProgrammableRealtimeUnitSubSystem(PRUSS).

Trademarks

Object file

.bss .data .text RAM

EEPROM

ROM

Target memory

.data file1 (.bss) file2 (.bss) file1 (.data) file2 (.data) file1 (.text) file2 (.text)

InitExecutable

object module Init (named section) .datafile1.obj .text .bss

Tables

(named section) .datafile2.obj .text .bss

Memory map

Tables

Init

TablesSpace for

variables (.bss)

Initialized

data (.data)

Executable

code (.text) copy_done:

Windows:c:\tools\files\copy.asm

3.14 3. -0.314e13 +314.59e-2 $strtod("0x1.234p-5") .newblock

QBEQ$1,r15,0ADDr15,r15,1$1:

QBEQ$1,r15,0

.byteSYM2*SYM2;Unequalvalues.endif .byteSYM1;Greaterthan.endif .byteSYM4+SYM4;Equalvalues.endif .endm (1)OperatorDescription (2)1+ %Multiplication

Division

Modulo

3+ -Addition

Subtraction

4<<>>ShiftleftShiftright5<

absoluterelocatablerelocatableillegal absoluteexternalexternalillegal relocatablerelocatableillegalabsolute (1)relocatableexternalillegalillegal externalabsoluteexternalexternal externalrelocatableillegalillegal externalexternalillegalillegal --output_file=addfive.out intm1;intm2;}X;Xsvar={1,2};Example4 topic 31

0 0 00

0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0 0 1 0 0 0 1 1 0 1 0 0

313029

0 0 028 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 0

0 0 0 0 1 0 0 1 0 0 0 1 1 0 1 0 0

31

0 1 122 21 20 19 180

0 0 1 0 0 0 1 0 0 0 0

31

0 1 128 27 26 25 24 230

0 0 1 0 0 0

313029

0 1 1 .field 3,3 .field 8,6 .field 16,5 .field 01234h,20 .field 01234h,32

3 bits

6 bits

5 bits

20 bits

02h 04h

Current

SPC = 03h

New SPC = 04h

after assembling .align 2 directive2 bytes (a) Result of .align 2 08h 0Ch

Current

SPC = 0AhNew SPC = 0Ch

after assembling .align directive1 word (b) Result of .align without an argument

17 bytes

reserved

20 bytes

reserved

Res_1 = 08h

Res_2 = 33h

.break .emsg.eval .fclist .fcnolist.length .mlist .mmsg.mnolist .sslist .ssnolist.var .width .wmsg

4.asgR2,STACKPTR5.asg&,AND6

17 (sourcefile)byte.asm (firstcopyfile)word.asm (sourcefile)byte2.asm (firstcopyfile)word2.asm S E E E E E E E E E E E M M M M M M M M M M M M M M M M M M M M

31 200

M M M M M M M M M M M M M M M M M M M M M M M M M M M M M M M M 0 31

Legend:S = signE = exponent (11-bit biased)

M = mantissa (52-bit fraction)

.drnolist .asg1,x.loop3.evalx+1,x.endloop

8.drnolist12.loop313.evalx+1,x14.endloop

.word0

ADDparm1,r7,r8.endif

.endm

MSG_EXR0MSG_EX

LDIr4,offstSBBO&r0,r4,0,4

.ifAAAADDR0,R0,1024.else

ADDR0,R0,1024*10.endif

.fcnolist .ifAAAADDR0,R0,1024.else

ADDR0,R0,1024*10.endif

11.fcnolist12

1400000004E2800B01ADDR0,R0,1024

31

0 0 00

0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 1 1 0 0 0 0 1

31

1 1 00

0 310

313029

0 0 1

14-bit field

5-bit field

4-bit field28 27 26 25 24 23

22 21 20 19 18

0

10101 1 1 10 00

0.field 0ABCh, 14

0WordCode

18 17 16 15 14 13

0 0

1010101 1 1 10 0 01010.field 00Ah, 5

1

30 29 28.align 4

.field 00Ch, 5 31

0 0 00

0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0

.field x2

3.field 04321, 32

S E E E E E E E E M M M M M M M M M M M M M M M M M M M M M M M 31230

Legend:S = sign (1 bit)

E = exponent (8-bit biased)

M = mantissa (23-bit fraction)value = (-1)

Sx (1.0 + mantissa) x (2)exponent-127

.length55.width100 .nolist .copy"copy2.asm".list 3

10.endm11

12

7.newblock8

3.asgr14,ARG14.asgr15,ARG25

9.newblock10

600000000.bssREAL,REAL_LEN7

100000000800000000E4E1E1ADDr1,r1,r411

210000000c.text22

Example327.struct28

330000000000000C.endstruct34

NOP NOP .tab4NOP NOP NOP .tab16NOP NOP NOP .text .data .text .string"QUIT"

2 bytes

100 bytes

50 bytes

array ptr dflagSection var1

152 bytes reserved

in var1100 bytes ptrSection var2

100 bytes reserved

in var2

1,parameter

3*add34*5*ADDRP=P1+P2+P36

7add3.macroP1,P2,P3,ADDRP8

.emsg"BadMacroParameter".endif .endm .else .evalI+1,i.endif .endloop .endm add3add3.asm

Example6

.evalx+1,x.endloop

Example6

*DoubleAddorSubtract* .emsg"IncorrectOperatorParameter".endif .endm *MacroCallDBL-,R4,R5,R6,R7 2 3

9.endm10

11quotesdbs_dbs46.pdfusesText_46
[PDF] langue allemande dans le monde

[PDF] langue et détrôner

[PDF] Langue étrangere

[PDF] langue latine liste

[PDF] Langue orale ou langue écrire

[PDF] langue vivante approfondie anglais ressources

[PDF] langue vivante approfondie espagnol

[PDF] langue vivante facultative bts

[PDF] lapin fluorescent alba

[PDF] lapin himalayen correction sujet bac

[PDF] lapin himalayen génotype phénotype environnement

[PDF] lapin himalayen wikipédia

[PDF] lapins himalayens corrige

[PDF] lapins himalayens svt

[PDF] laplace formule