aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAge
* samples: simple-lw-sw-ia.S: place data section to 0x2000 address.Pavel Pisa2019-09-06
| | | | | | | | | Ensure that initial explicitly written address in lw, sw instructions is aligned with location used later when data symbols are used. Use address in the first 32 kB to leave out la pseudoinstruction complexity for initial experiments. Signed-off-by: Pavel Pisa <pisa@cmp.felk.cvut.cz>
* Use #pragma in examples to lower initial learning curve.Pavel Pisa2019-08-26
| | | | Signed-off-by: Pavel Pisa <pisa@cmp.felk.cvut.cz>
* Add #pragma processing to integrated assembler and its usage to control windows.Pavel Pisa2019-08-26
| | | | Signed-off-by: Pavel Pisa <pisa@cmp.felk.cvut.cz>
* In include, use content from editor if file is already open.Pavel Pisa2019-08-22
| | | | | | | This allows to assemble from modified include files without need to save their content the first. Signed-off-by: Pavel Pisa <pisa@cmp.felk.cvut.cz>
* Provide support for include directive in simple assembler.Pavel Pisa2019-08-22
| | | | Signed-off-by: Pavel Pisa <pisa@cmp.felk.cvut.cz>
* Add OpenHub statistic page link.Pavel Pisa2019-08-22
| | | | Signed-off-by: Pavel Pisa <pisa@cmp.felk.cvut.cz>
* Implemented SKIP/SPACE assembler directives.Pavel Pisa2019-08-22
| | | | Signed-off-by: Pavel Pisa <pisa@cmp.felk.cvut.cz>
* Keep last line of terminal text visible when cursor is at the end of text.Pavel Pisa2019-08-21
| | | | Signed-off-by: Pavel Pisa <pisa@cmp.felk.cvut.cz>
* Add .byte directive and move align target address only before .word and ↵Pavel Pisa2019-08-21
| | | | | | instruction. Signed-off-by: Pavel Pisa <pisa@cmp.felk.cvut.cz>
* Version updated to 0.7.2Pavel Pisa2019-08-21
| | | | | | | | | | | | | | | | | | | | | | | | | * Debian package updated to version 0.7.2. * More changes to use dialog open instead of exec (Emscripten does not support exec). * Updates to RPM packaging and spec file to better follow Suse rules. * Move fixmatheval and assembly compiler to separate library independent on Qt GUI API. * Implemented message window to report compilation errors. * Store operator text description in the fixmatheval operators tree. * Simple assembler moved to separate class which is independent on Qt GUI API. * Do not open editor twice for same filename. * Enable CLI version to use simple assembler. * Update editor search algorithm to prefer current editor for unnamed buffers. * Add config option to reset machine before internal assembler starts. * Include C language syntax highlighter for alternative sources editing. * Action to execute external make command and ask for unsaved sources. * Ask to save modified files on exit. * Ask for modified source close and handle unnamed sources close. * Replace shortcuts to not hide Ctrl+C and some others. * Implemented ASCII and ASCIZ operations. * Include actions New source and Close source on toolbar. * Make program and memory window visible when address requested from symbol dialog. * Add embedded examples menu and resources. Signed-off-by: Pavel Pisa <pisa@cmp.felk.cvut.cz>
* Resolve emscripten problem with save as during close by queued connection.Pavel Pisa2019-08-20
| | | | | | | | | | | | It seems that directly connected one dialog result signal to method which created another modal dialog results in new dialog to be hidden when finished dialog closes under emscripten. Queued connection resolves this problem for simple case of source file close. It still does not resolve save as invocation during complete application close. Signed-off-by: Pavel Pisa <pisa@cmp.felk.cvut.cz>
* Workaround to emscripten problem with source close when save requiring rename.Pavel Pisa2019-08-20
| | | | | | Allow user to select only discard and cancel close. Signed-off-by: Pavel Pisa <pisa@cmp.felk.cvut.cz>
* Attempt to correct ask for file save when closed on emscripten.Pavel Pisa2019-08-20
| | | | Signed-off-by: Pavel Pisa <pisa@cmp.felk.cvut.cz>
* Add embedded examples menu and resources.Pavel Pisa2019-08-20
| | | | Signed-off-by: Pavel Pisa <pisa@cmp.felk.cvut.cz>
* Make program and memory window visible when address requested from symbol ↵Pavel Pisa2019-08-20
| | | | | | dialog. Signed-off-by: Pavel Pisa <pisa@cmp.felk.cvut.cz>
* Include actions New source and Close source on toolbar.Pavel Pisa2019-08-20
| | | | Signed-off-by: Pavel Pisa <pisa@cmp.felk.cvut.cz>
* Document new internal assembler directives and possibility to call make.Pavel Pisa2019-08-20
| | | | Signed-off-by: Pavel Pisa <pisa@cmp.felk.cvut.cz>
* Implemented ASCII and ASCIZ operations.Pavel Pisa2019-08-20
| | | | Signed-off-by: Pavel Pisa <pisa@cmp.felk.cvut.cz>
* Reimplemented simple assembler parser as state machine.Pavel Pisa2019-08-20
| | | | | | | New parser allows to process string arguments with comma and comment start characters. Signed-off-by: Pavel Pisa <pisa@cmp.felk.cvut.cz>
* Replace shortcuts to not hide Ctrl+C and some others.Pavel Pisa2019-08-20
| | | | Signed-off-by: Pavel Pisa <pisa@cmp.felk.cvut.cz>
* Ask for modified source close and handle unnamed sources close.Pavel Pisa2019-08-20
| | | | Signed-off-by: Pavel Pisa <pisa@cmp.felk.cvut.cz>
* Ask to save modified files on exit.Pavel Pisa2019-08-19
| | | | Signed-off-by: Pavel Pisa <pisa@cmp.felk.cvut.cz>
* Action to execute external make command and ask for unsaved sources.Pavel Pisa2019-08-19
| | | | Signed-off-by: Pavel Pisa <pisa@cmp.felk.cvut.cz>
* Include qtmips_asm in the top level dependencies of qtmips_cli and qtmips_gui.Pavel Pisa2019-08-02
| | | | Signed-off-by: Pavel Pisa <pisa@cmp.felk.cvut.cz>
* Update standalone build scripts (generic and MacOS) to include qtmips_asm.Pavel Pisa2019-08-02
| | | | Signed-off-by: Pavel Pisa <pisa@cmp.felk.cvut.cz>
* Parent models created by views to ensure their deletion.Pavel Pisa2019-07-18
| | | | Signed-off-by: Pavel Pisa <pisa@cmp.felk.cvut.cz>
* Include C language syntax highlighter for alternative sources editing.Pavel Pisa2019-07-18
| | | | Signed-off-by: Pavel Pisa <pisa@cmp.felk.cvut.cz>
* Rename Highlighter to HighlighterAsm to preare for alternative C highlighter.Pavel Pisa2019-07-18
| | | | Signed-off-by: Pavel Pisa <pisa@cmp.felk.cvut.cz>
* Remove forgotten debug print in relocation code.Pavel Pisa2019-07-18
| | | | Signed-off-by: Pavel Pisa <pisa@cmp.felk.cvut.cz>
* Add config option to reset machine before internal assembler starts.Pavel Pisa2019-07-18
| | | | Signed-off-by: Pavel Pisa <pisa@cmp.felk.cvut.cz>
* Update editor search algorithm to prefer current editor for unnamed buffers.Pavel Pisa2019-07-17
| | | | Signed-off-by: Pavel Pisa <pisa@cmp.felk.cvut.cz>
* Prepend message types by MSG_, Windows headerfiles define ERROR as macro.Pavel Pisa2019-07-17
| | | | Signed-off-by: Pavel Pisa <pisa@cmp.felk.cvut.cz>
* Enable CLI version to use simple assembler.Pavel Pisa2019-07-17
| | | | Signed-off-by: Pavel Pisa <pisa@cmp.felk.cvut.cz>
* Do not open editor twice for same filename.Pavel Pisa2019-07-17
| | | | Signed-off-by: Pavel Pisa <pisa@cmp.felk.cvut.cz>
* Simple assembler moved to separate class which is independent on Qt GUI API.Pavel Pisa2019-07-17
| | | | Signed-off-by: Pavel Pisa <pisa@cmp.felk.cvut.cz>
* Store operator text description in the fixmatheval operators tree.Pavel Pisa2019-07-17
| | | | Signed-off-by: Pavel Pisa <pisa@cmp.felk.cvut.cz>
* Implemented message window to report compilation errors.Pavel Pisa2019-07-17
| | | | Signed-off-by: Pavel Pisa <pisa@cmp.felk.cvut.cz>
* Move fixmatheval to initial directory for assembler library.Pavel Pisa2019-07-15
| | | | Signed-off-by: Pavel Pisa <pisa@cmp.felk.cvut.cz>
* spec file: hicolor-icon-theme directories requested according sbrabec ↵Pavel Pisa2019-07-15
| | | | | | suggestion. Signed-off-by: Pavel Pisa <pisa@cmp.felk.cvut.cz>
* Minor update of RPM packaging.Pavel Pisa2019-07-05
| | | | Signed-off-by: Pavel Pisa <pisa@cmp.felk.cvut.cz>
* Minor correction of emscripten save as to offer original file name if known.Pavel Pisa2019-07-03
| | | | Signed-off-by: Pavel Pisa <pisa@cmp.felk.cvut.cz>
* Emscripten version does not wait for dialog->exec(), proces selected value ↵Pavel Pisa2019-07-03
| | | | | | by signal. Signed-off-by: Pavel Pisa <pisa@cmp.felk.cvut.cz>
* Minor fix to build on Qt version prior to 5.7.0.Pavel Pisa2019-07-03
| | | | Signed-off-by: Pavel Pisa <pisa@cmp.felk.cvut.cz>
* Follow rule of two spaces after e-mail if updating Debian changelog.Pavel Pisa2019-07-03
| | | | Signed-off-by: Pavel Pisa <pisa@cmp.felk.cvut.cz>
* Instructions update and encoding enhanced.Pavel Pisa2019-07-03
| | | | | | | | | Be permissive when signed argument is defined as unsigned value near 2^32 because it is usual way how the negative arguments are encoded on 32-bit system. Signed-off-by: Pavel Pisa <pisa@cmp.felk.cvut.cz>
* Process .equ and .set directives and ignore some others.Pavel Pisa2019-07-03
| | | | Signed-off-by: Pavel Pisa <pisa@cmp.felk.cvut.cz>
* Allow start of comments by two slashes.Pavel Pisa2019-07-03
| | | | Signed-off-by: Pavel Pisa <pisa@cmp.felk.cvut.cz>
* Use explicitly declared empty stringlist for instructions without arguments.Pavel Pisa2019-07-03
| | | | Signed-off-by: Pavel Pisa <pisa@cmp.felk.cvut.cz>
* Allow underscore in labels.Pavel Pisa2019-07-03
| | | | Signed-off-by: Pavel Pisa <pisa@cmp.felk.cvut.cz>
* Version updated to 0.7.1Pavel Pisa2019-07-03
| | | | | | | | | | | | | | | | * Debian package updated to version 0.7.1. * Add option to parse and show symbolic registers names. * Implemented simple integrated assembler - it is not recommended for advanced users. * Updated instructions parsing to be usable for integrated assembler. * Change instruction parsing to allow multiple words pseudo-operations. * Implemented simple expressions and labels/symbols evaluation. * Simple highlighter for assembly language added. * Include simple text editor in QtMips emulator. * Fix memory leakages which repeat during program operation. * Externally caused address-space changes (i.e. from peripherals) update memory view. * Provide option to hide coreview to speedup simulation. Signed-off-by: Pavel Pisa <pisa@cmp.felk.cvut.cz>