Skip to content

User Interface: Editor

stpe edited this page Mar 1, 2013 · 1 revision

A basic editor is available in JNiosEmu for convenience of editing your source code. It has support for copy, cut, paste as well as undo/redo (keyboard shortcuts depends on your operating system).

Additionally the editor features basic auto indenting where the cursor will automatically indent itself to match the previous row when you press return.

Opening and Saving Files

To open or save a file, use the corresponding menu items or toolbar buttons. The filename of the currently opened file stated in the title bar of the application window. An asterisk after the filename indicates if the file has been modified since the last save.

Instruction Assistance

If you are unsure of the syntax of an instruction, or simply want to browse the available instructions, you may use the the 'Instruction' menu option. The available instructions are divided into several categories depending on what they do.

By selecting an instruction it will be inserted into the editor at the current cursor position followed by the syntax of its arguments (that you need to replace with your own values).

Error Messages

If there is an error when you assemble your source code a message will be displayed at the bottom of the editor view. By double-clicking on the error message the cursor will automatically move to the line of the error in the editor.

Clone this wiki locally