v3.0 hex byte plain

# v3.0 hex byte plain big-endian

This file is structured as in previous versions, the first line indicates the type of structure and then the following lines represent the sequence of bits in the memory. They are in ASCII with only hexadecimal symbols (two digits) without the 0x tag.

>     v3.0 hex bytes plain big-endian
>     3f45a8c96ea00042f261613443f8b2cb
>     50950e0604427da5a9641e91526c7970
>     a7eb2d655343913e6b7d39db17730c77
>     058ea8ae931cbe211d218d412c76a495

The line returns of his not interpreted. With the exception of the first line, there are no layout rules. Spaces are ignored.

You can place comments in the file using the '#' symbol. All characters in the line starting with the '#' symbol will be ignored.

There is no need to specify the 0x prefix before the data, however if they exist they will simply be ignored.

If the length of the data set of the file is shorter than the memory space the remaining cells will be initialized to 0 for ROM and for RAM to 0 or randomly according to the parameters in Project options.

In the big-endian mode the memory is considered as a sequence of bytes regardless of the size of its words, with left to right the high bytes and then the low bytes. In the figure above, the hexadecimal signs are represented in their binary value in the blue/green area and it can be observed that the bytes of the file (top) are copied into the memory in sequence with examples for memories with 4bits, 7bits and 12bits words. Observe the alignment offset for words not multiple of 8 for example in the 7-bit word memory.

# v3.0 hex byte plain little-endian

This format follows the same rules as previous formats. Unlike the reading direction, in the little-endian mode it is read from right to left.

>     v3.0 hex bytes plain little-endian
>     3f45a8c96ea00042f261613443f8b2cb
>     50950e0604427da5a9641e91526c7970
>     a7eb2d655343913e6b7d39db17730c77
>     058ea8ae931cbe211d218d412c76a495

In the little-endian mode the memory is considered as a sequence of bytes with from right to left the low low bits and then the high bits. In the figure above we can see that the bytes of the file (top) are copied into the memory in sequence with examples for memories with 4bits, 7bits and 12bits words. You can observe the alignment offset for example for the 7-bit word memory.

The same examples are displayed in the component.

# v3.0 hex bytes addressed big-endian

this format is identical to the previous ones with the possibility to specify the address of the memory word or to start recording the data of the line.
This one is in hexadecimal followed by the character :.

>     v3.0 hex bytes addressed big-endian
>     00: 3f45a8c96ea75086cce5d39d87456709
>     20: 56788888882efff0ec45670900000000
>     30: 9863fec8a2d75d342e1f008090445578

In this example the 8 words at address 0x10 are not specified. These cells will be initialized to 0 and for RAM according to the parameters in Project options, to 0 or randomly.

# v3.0 hex bytes addressed little-endian

This format is identical to the previous ones with the possibility to specify the address of the memory word or to start recording the data of the line.

>     v3.0 hex bytes addressed little-endian
>     00: 3f45a8c96ea75086cce5d39d87456709
>     20: 56788888882efff0ec45670900000000
>     30: 9863fec8a2d75d342e1f008090445578

Next: Pop-up menus and files.