Edit68K - Options

Assembler and editor options may be changed by selecting the desired item under the Options menu item.

Assembler Options...

Assembler Options

- Generate List File
  The assembler will create a list file when checked. The list file is used by the EASy68K simulator to provide source level debugging. The list file will have the same name as the source file with an .L68 file extension. The list file contains the original program source along with the machine code generated by the assembler and error messages. The list file may also include instructions added by the assembler for structured control statements or macros. The List File Options described below along with some assembler directives control how much information is included in the list file.

- Generate S-Record
  The assembler will create an S-Record file when checked. The S-Record file is required by the EASy68K simulator. The S-Record file will have the same name as the source file with an .S68 file extension. The S-Record file contains the machine code generated by the assembler in a text format compatible with the Motorola S-Record format. See the included description of the EASy68K S-Record format for details. S-Record files may be converted to binary files using the EASyBIN utility.

- Show Warnings
  The assembler will display warning messages during assembly when checked. Error messages are always displayed.

- Auto Save Modified Source Before Assembling
  When checked, the assembler will save all modified source files before assembling.

- Assemble Bit Field Instructions
  When checked, assembly of bit field instructions is supported. Only 68000 addressing modes are supported. Bit field instructions are available in 68020 and higher 68K processors and were not part of the 68000 instruction set. Support has been added to EASy68K for educational purposes. EASy68K does not include support for any other non 68000 instructions.

Template

- The template is used to create a new source file.

List File Options

- Cross Reference
  When checked the list file will include a cross reference at the bottom of the file of all labels used along with their respective values.

- Constants Expanded
  When checked the list file will contain all of the data created by the assembler from constants defined in the source file.

- Structured Expanded
  When checked the list file will contain all of the code added by the assembler to implement the structured assembly statements contained in the source file.

- Macros Expanded
  When checked the list file will contain a complete expansion of each macro call.

Editor Options...

General

This window may be used to change the appearance of text in the currently selected window. The Editor Options are also used as the default settings for new source files. The font and tab characteristics apply to the entire window.

New File Settings

- New Font
  Used to select a new font.

- New Font Size
  Used to select a new font size.

- Fixed Tab Size
  The size, in characters, of each tab.

- Assembly Tabs or Fixed Tabs
  Select the desired tab type. Assembly Tabs position the tab stops at predefined positions that work best for traditional formatting of assembly source. Fixed Tabs uses the tab size specified in the Fixed Tab Size field. Fixed tabs are best for writing Structured Assembly code.

Current File Info

- Font
  The name of the current font.

- Font Size
  The size of the current font.

- Fixed Tab Size
  The size of the fixed tab in characters.

- Tab Type
  The type of tabs currently in use.

Environment

- Auto Indent
  When checked the editor will indent new lines to the same level as the preceding line.

- Real Tabs
  When checked the editor uses real tab characters. When unchecked the editor uses spaces in place of tab characters.

Colors

This window may be used to change the editors colors and text attributes used for syntax highlighting. The Preview window displays the style changes. Clicking OK applies any changes to every open file in the editor.

- Element
  Code elements may be individually selected so their color and/or attributes may be changed.

- Text Attributes
  The attributes of the currently selected Element are displayed and may be changed.

- Color Presets
  Selecting a color preset will change the colors and attributes of all elements to match the preset. Syntax highlighting may be disabled by selecting Disabled.

- Print w/Black
  Printing will not use colors when checked.
- Color
  The color of the currently selected Element may be selected by clicking on the desired color.

- Preview
  The colors and styles that will be applied to the editor when the OK button is clicked. Click Cancel to exit without making any changes.