28 lines
1.5 KiB
JavaScript
28 lines
1.5 KiB
JavaScript
|
var english_strings = {
|
||
|
english: "English",
|
||
|
spanish: "Spanish",
|
||
|
help: "Help",
|
||
|
code: "Code",
|
||
|
result: "Result",
|
||
|
screen: "Screen",
|
||
|
add_line: "Add line",
|
||
|
insert_line: "Insert line",
|
||
|
delete_line: "Delete line",
|
||
|
clear_code: "Clear code",
|
||
|
export_code: "Export",
|
||
|
import_code: "Import:",
|
||
|
execute_code: "Execute",
|
||
|
pause_code: "Pause",
|
||
|
stop_code: "Stop",
|
||
|
interval: "Interval: ",
|
||
|
input_value: "Input value:",
|
||
|
error_input: "The submitted value is not a number.",
|
||
|
error_syntax: "Syntax error.",
|
||
|
error_memory: "Memory address not found.",
|
||
|
error_no_command: "No command detected.",
|
||
|
error_math: "Math error.",
|
||
|
error_ac: "AC is empty.",
|
||
|
file_load_failed: "Failed to load file!",
|
||
|
leave: "Are you sure you want to leave this page?",
|
||
|
help_text: "<div class=\"help_title\">Commands:</div>rda: Read from keyboard to memory.<br />lda: Load to AC.<br />str: Save to memory.<br />wrt: Print to screen.<br />add: Addition.<br />sub: Subtraction.<br />mul: Multiplication.<br />div: Division.<br />jmp: Jump.<br />jmpZ: Jump if AC is equal to 0.<br />jmpL: Jump if AC is less than 0.<br />sqr: Square root of AC.<br />pow: AC to the power of n<br />End: End program.<br /><br /><div class=\"help_title\">Symbols:</div>#: Use numeric value.<br />[]: Value in memory is an address.<br /><br /><b>JVON Mobile</b><br />Language simulator based on the architecture of <b>John von Nuemann</b><br />Constructed by Christopher Cromer (chris.cromer@cromer.cl)<br />Ingeniería Civil en Informática, Universidad del Bío Bío, 2015",
|
||
|
};
|