Skip to content
Merged
10 changes: 5 additions & 5 deletions architecture/MIPS-32-like.json
Original file line number Diff line number Diff line change
Expand Up @@ -1866,7 +1866,7 @@
"stopbit": 0
}
],
"definition": "ra=PC; if(rs >> 0 >=0){PC=PC+((off << 16) >> 14)}; \ncheck_protection_jal()"
"definition": "ra=PC; if(rs >> 0 >=0){PC=PC+((off << 16) >> 14)}; \ncheck_protection_jal(); draw_stack_jal();"
},
{
"name": "bgtz",
Expand Down Expand Up @@ -2550,7 +2550,7 @@
"stopbit": 0
}
],
"definition": "ra=PC\nPC=addr; \ncheck_protection_jal()"
"definition": "ra=PC\nPC=addr; \ncheck_protection_jal(); draw_stack_jal();"
},
{
"name": "jalr",
Expand Down Expand Up @@ -2592,7 +2592,7 @@
"valueField": "001001"
}
],
"definition": "rd=PC\nPC=rs\ncheck_stack_limit(rd.name; sp.name; rd); \ncheck_protection_jal()"
"definition": "rd=PC\nPC=rs\ncheck_stack_limit(rd.name; sp.name; rd); \ncheck_protection_jal(); draw_stack_jal();"
},
{
"name": "jr",
Expand Down Expand Up @@ -2628,7 +2628,7 @@
"valueField": "001000"
}
],
"definition": "PC=rs; \ncheck_protection_jrra()"
"definition": "PC=rs; \ncheck_protection_jrra(); draw_stack_jrra();"
},
{
"name": "lb",
Expand Down Expand Up @@ -7399,4 +7399,4 @@
"value": 268435455
}
]
}
}
3 changes: 2 additions & 1 deletion components/architecture/creator_uielto_backup.js
Original file line number Diff line number Diff line change
Expand Up @@ -93,4 +93,5 @@

}

Vue.component('uielto-backup', uielto_backup)
Vue.component('uielto-backup', uielto_backup) ;

3 changes: 2 additions & 1 deletion components/architecture/creator_uielto_load_architecture.js
Original file line number Diff line number Diff line change
Expand Up @@ -96,4 +96,5 @@

}

Vue.component('form-new-architecture', uielto_new_architecture)
Vue.component('form-new-architecture', uielto_new_architecture) ;

2 changes: 1 addition & 1 deletion components/assembly/creator_uielto_error.js
Original file line number Diff line number Diff line change
Expand Up @@ -69,5 +69,5 @@
' </div>'
}

Vue.component('assembly-error', uielto_assembly_error)
Vue.component('assembly-error', uielto_assembly_error) ;

3 changes: 2 additions & 1 deletion components/assembly/creator_uielto_examples.js
Original file line number Diff line number Diff line change
Expand Up @@ -68,4 +68,5 @@

}

Vue.component('examples', uielto_examples)
Vue.component('examples', uielto_examples) ;

3 changes: 2 additions & 1 deletion components/assembly/creator_uielto_library_tags.js
Original file line number Diff line number Diff line change
Expand Up @@ -41,4 +41,5 @@

}

Vue.component('list-libray-tags', uielto_library_tags)
Vue.component('list-libray-tags', uielto_library_tags) ;

2 changes: 1 addition & 1 deletion components/assembly/creator_uielto_shortcuts.js
Original file line number Diff line number Diff line change
Expand Up @@ -75,5 +75,5 @@
' </b-popover>'
}

Vue.component('popover-shortcuts', uielto_shortcuts)
Vue.component('popover-shortcuts', uielto_shortcuts) ;

3 changes: 2 additions & 1 deletion components/assembly/creator_uielto_textarea_assembly.js
Original file line number Diff line number Diff line change
Expand Up @@ -37,4 +37,5 @@

}

Vue.component('textarea-assembly', uielto_textarea_assembly)
Vue.component('textarea-assembly', uielto_textarea_assembly) ;

3 changes: 2 additions & 1 deletion components/general/creator_uielto_about.js
Original file line number Diff line number Diff line change
Expand Up @@ -54,5 +54,6 @@
'</b-card-group>'
}

Vue.component('uielto-about', uielto_about)
Vue.component('uielto-about', uielto_about) ;


3 changes: 2 additions & 1 deletion components/general/creator_uielto_author.js
Original file line number Diff line number Diff line change
Expand Up @@ -51,5 +51,6 @@
' </b-card>'
}

Vue.component('card-author', uielto_author)
Vue.component('card-author', uielto_author) ;


3 changes: 2 additions & 1 deletion components/general/creator_uielto_configuration.js
Original file line number Diff line number Diff line change
Expand Up @@ -229,5 +229,6 @@

}

Vue.component('form-configuration', uielto_configuration)
Vue.component('form-configuration', uielto_configuration) ;


3 changes: 2 additions & 1 deletion components/general/creator_uielto_info.js
Original file line number Diff line number Diff line change
Expand Up @@ -70,5 +70,6 @@
' </b-popover>'
}

Vue.component('popover-info', uielto_info)
Vue.component('popover-info', uielto_info) ;


3 changes: 2 additions & 1 deletion components/general/creator_uielto_instruction_help.js
Original file line number Diff line number Diff line change
Expand Up @@ -68,5 +68,6 @@
'</b-sidebar'
}

Vue.component('sidebar-instruction-help', uielto_instruction_help)
Vue.component('sidebar-instruction-help', uielto_instruction_help) ;


3 changes: 2 additions & 1 deletion components/general/creator_uielto_loading.js
Original file line number Diff line number Diff line change
Expand Up @@ -35,5 +35,6 @@
' </div>'
}

Vue.component('spinner-loading', uielto_loading)
Vue.component('spinner-loading', uielto_loading) ;


3 changes: 2 additions & 1 deletion components/general/creator_uielto_navbar.js
Original file line number Diff line number Diff line change
Expand Up @@ -61,5 +61,6 @@
' </b-navbar>'
}

Vue.component('navbar-creator', uielto_navbar)
Vue.component('navbar-creator', uielto_navbar) ;


3 changes: 2 additions & 1 deletion components/general/creator_uielto_notifications.js
Original file line number Diff line number Diff line change
Expand Up @@ -43,5 +43,6 @@
' </div>'
}

Vue.component('uielto-notifications', uielto_notifications)
Vue.component('uielto-notifications', uielto_notifications) ;


3 changes: 2 additions & 1 deletion components/general/creator_uielto_supported_browser.js
Original file line number Diff line number Diff line change
Expand Up @@ -62,5 +62,6 @@
' </div>'
}

Vue.component('supported-browser', uielto_browser)
Vue.component('supported-browser', uielto_browser) ;


3 changes: 2 additions & 1 deletion components/simulator/creator_uielto_data_view_selector.js
Original file line number Diff line number Diff line change
Expand Up @@ -98,4 +98,5 @@

}

Vue.component('data-view-selector', uielto_data_view_selector)
Vue.component('data-view-selector', uielto_data_view_selector) ;

2 changes: 1 addition & 1 deletion components/simulator/creator_uielto_keyboard.js
Original file line number Diff line number Diff line change
Expand Up @@ -125,4 +125,4 @@
else{
return 1000;
}
}
}
3 changes: 2 additions & 1 deletion components/simulator/creator_uielto_memory_data.js
Original file line number Diff line number Diff line change
Expand Up @@ -146,4 +146,5 @@

}

Vue.component('table-mem-data', uielto_memory_data)
Vue.component('table-mem-data', uielto_memory_data) ;

3 changes: 2 additions & 1 deletion components/simulator/creator_uielto_memory_stack.js
Original file line number Diff line number Diff line change
Expand Up @@ -252,4 +252,5 @@

}

Vue.component('table-mem-stack', uielto_memory_stack)
Vue.component('table-mem-stack', uielto_memory_stack) ;

3 changes: 2 additions & 1 deletion components/simulator/creator_uielto_memory_text.js
Original file line number Diff line number Diff line change
Expand Up @@ -142,4 +142,5 @@

}

Vue.component('table-mem-text', uielto_memory_text)
Vue.component('table-mem-text', uielto_memory_text) ;

3 changes: 2 additions & 1 deletion components/simulator/creator_uielto_monitor.js
Original file line number Diff line number Diff line change
Expand Up @@ -46,5 +46,6 @@

}

Vue.component('monitor', uielto_monitor)
Vue.component('monitor', uielto_monitor) ;


3 changes: 2 additions & 1 deletion components/simulator/creator_uielto_stats.js
Original file line number Diff line number Diff line change
Expand Up @@ -46,4 +46,5 @@

}

Vue.component('stats', uielto_stats)
Vue.component('stats', uielto_stats) ;

3 changes: 2 additions & 1 deletion components/simulator/creator_uielto_stats_plot.js
Original file line number Diff line number Diff line change
Expand Up @@ -111,4 +111,5 @@

}

Vue.component('plot-stats', uielto_stats_plot)
Vue.component('plot-stats', uielto_stats_plot) ;

3 changes: 2 additions & 1 deletion components/simulator/creator_uielto_stats_table.js
Original file line number Diff line number Diff line change
Expand Up @@ -57,4 +57,5 @@

}

Vue.component('table-stats', uielto_stats_table)
Vue.component('table-stats', uielto_stats_table) ;

3 changes: 2 additions & 1 deletion components/simulator/creator_uielto_table_execution.js
Original file line number Diff line number Diff line change
Expand Up @@ -159,4 +159,5 @@

}

Vue.component('table-execution', uielto_execution)
Vue.component('table-execution', uielto_execution) ;

86 changes: 43 additions & 43 deletions js/app.js
Original file line number Diff line number Diff line change
Expand Up @@ -2847,49 +2847,49 @@ try

/*Load the available examples*/
load_examples_available( set_name ) {
this._data.example_loaded = new Promise(function(resolve, reject) {

$.getJSON('examples/example_set.json', function(set) {

// current architecture in upperCase
var current_architecture = app._data.architecture_name.toUpperCase() ;

// search for set_name in the example set 'set'
for (var i=0; i<set.length; i++)
{
// if set_name in set[i]...
if (set[i].id.toUpperCase() == set_name.toUpperCase())
{
// if current_architecture active but not the associated with set, skip
if ( (current_architecture != '') &&
(set[i].architecture.toUpperCase() != current_architecture) )
{
continue ;
}

// if no current_architecture loaded then load the associated
if (current_architecture == '') {
$.getJSON('architecture/'+ set[i].architecture +'.json',
function(cfg) {
app.load_arch_select_aux(set[i].architecture,
cfg, false, null);
}) ;
}

// load the associate example list
$.getJSON(set[i].url, function(cfg){
example_available = cfg ;
app._data.example_available = example_available ;
resolve('Example list loaded.') ;
});

return ;
}
}

reject('Unavailable example list.') ;
});
}) ;
this._data.example_loaded = new Promise(function(resolve, reject) {

$.getJSON('examples/example_set.json', function(set) {

// current architecture in upperCase
var current_architecture = app._data.architecture_name.toUpperCase() ;

// search for set_name in the example set 'set'
for (var i=0; i<set.length; i++)
{
// if set_name in set[i]...
if (set[i].id.toUpperCase() == set_name.toUpperCase())
{
// if current_architecture active but not the associated with set, skip
if ( (current_architecture != '') &&
(set[i].architecture.toUpperCase() != current_architecture) )
{
continue ;
}

// if no current_architecture loaded then load the associated
if (current_architecture == '') {
$.getJSON('architecture/'+ set[i].architecture +'.json',
function(cfg) {
app.load_arch_select_aux(set[i].architecture,
cfg, false, null);
}) ;
}

// load the associate example list
$.getJSON(set[i].url, function(cfg){
example_available = cfg ;
app._data.example_available = example_available ;
resolve('Example list loaded.') ;
});

return ;
}
}

reject('Unavailable example list.') ;
});
}) ;
},

/*Save a binary in a local file*/
Expand Down
Loading