13.07.2015 Views

TASKING VX-toolset for ARM User Guide

TASKING VX-toolset for ARM User Guide

TASKING VX-toolset for ARM User Guide

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Tool OptionsHLL object dumper option: --data-dump-<strong>for</strong>mat (-d)Command line syntax--data-dump-<strong>for</strong>mat[=<strong>for</strong>mat]-d[<strong>for</strong>mat]You can specify one of the following <strong>for</strong>mats:directiveshexdhDump data as directives. A new directive will be generated <strong>for</strong> eachsymbol.Dump data as hexadecimal code with ASCII translation.Default: --data-dump-<strong>for</strong>mat=directivesDescriptionWith this option you can control the way data sections are dumped. By default, the contents of datasections are represented by directives. A new directive will be generated <strong>for</strong> each symbol. ELF labels inthe section are used to determine the start of a directive. ROM sections are represented with .db, .dh,.dw, .dd kind of directives, depending on the size of the data. RAM sections are represented with .dsdirectives, with a size operand depending on the data size. This can be either the size specified in theELF symbol, or the size up to the next label.With option --data-dump-<strong>for</strong>mat=hex, no directives will be generated <strong>for</strong> data sections, but data sectionsare dumped as hexadecimal code with ASCII translation.This only applies to ROM sections. RAM sectionswill be represented with only a start address and a size indicator.Examplehldumparm -F2 --section=.rodata hello.abs---------- Section dump ----------.section .data, '.rodata'.org 000006ac.db 48,65,6c,6c,6f,20,25,73,21,0a,00.endsec.section .data, '.rodata'.org 000006b8.db 77,6f,72,6c,64,00.endsec; Hello %s!..; world.hldumparm -F2 --section=.rodata --data-dump-<strong>for</strong>mat=hex hello.abs---------- Section dump ----------section 7 (.rodata):000006ac 48 65 6c 6c 6f 20 25 73 21 0a 00Hello %s!..711

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!