Jump to content

Template:Intel HEX/doc

From Wikipedia, the free encyclopedia

Usage

[edit]

This template generates a colorized Intel HEX record. A start code (':' character) will be displayed if all record fields are specified (data field is optional), otherwise it will be omitted.

Syntax

[edit]

{{Intel HEX | RecordLength | AddressField | RecordType | Data | Checksum}}

Examples

[edit]
Color legend

  Start code   Byte count   Address   Record type   Data   Checksum

Complete records

[edit]

Complete records will have an automatically prepended start code (':') character. For example,

{{Intel HEX|10|0100|00|214601360121470136007EFE09D21901|40}}

produces

:10010000214601360121470136007EFE09D2190140

Partial records

[edit]

An individual, colorized field can be displayed by invoking the template with other fields left empty. For example,

{{Intel HEX||0100|||}}

produces

0100

Note

[edit]

This template uses the same color scheme as Template:SREC HEX.