# Pop-up menus and files

## Pop-up menu

The pop-up menu for memory includes four options in addition to the options common to all components:

Edit Contents:
  Bring up a hex editor for editing the contents of memory.
Clear Contents:
  Resets all values in memory to 0 and for RAM to 0 or randomly depending on the parameters in Project options .
Load Image...:
  Resets all values in memory to the values found in a file. The file format is recognized automatically and if it is not the case a window Memory file panel opens for an appropriate selection.
Save Image...:
  Stores all values in memory in a file using one of the formats described below.

## File format

- v2.0 raw Historical version of logisim allows "run.length" coding.
- v3.0 hex words plain Close to v2.0 word structured.
- v3.0 hex words addressed As before with the possibility to define a start address for each line of the file.
- v3.0 hex bytes plain big-endian
  v3.0 hex bytes plain little-endian Organized in byte streams.
- v3.0 hex bytes addressed big-endian
  v3.0 hex bytes addressed little-endian Organized in byte flow as before with the possibility to define an address.
- Binary data big-endian
  Binary data little-endian Image of the memory uncoded in hexadecimal.
- Ascii byte escape big-endian
  Ascii byte escape little-endian ASCII encoded file with escape code, as in C for non-printable characters.

Next: Memory file panel.