See the assembly language info in Notes and Credits Example Code at the bottom of Instructions Feel free to leave suggestions in the comments! === Commands === Press "SPACE" to initiate commands Type in one of the following commands (ONLY ENTER COMMAND) - store - asks for input and automatically stores data into the storage - get - gets a value from storage using index from asked input and outputs the data (use before compileRun) - compileRun - gets program from storage (same as get) and runs it - run - compiles and runs raw assembly code == Example Code == - Hello World short hw = "Hello, World!"; say $hw; wait 2; say; - Input & Conditional inputShort age "what is your age?"; goto kid cond $age < 18; say "you are an adult!"; goto end; set kid; say "you are a kid"; set end; wait 2;
== General Rules == - Variable declaration (varname DOES NOT include dollar sign) datatype varname = val; - Calling Variable say $varname; - Byte Value You can store 4 chars in 1 byte == Syntax == - say <value> - Outputs data - wait <numericValue> - Waits <number> seconds - putpixel - Not Finished! - set <areaname> - Saves a pointer location - goto <areaname> - Changes pointer location to set area - goto <areaname> cond <condition> - Goes to location if condition is true - inc $<variable> <numericValue> - Changes a variable by the 2nd value and saves it to the variable - mul $<variable> <numericValue> - Multiplies a variable by the 2nd value and saves it to the variable == Data Types == byte - 1 byte (4 letters) word - 2 bytes dword - 4bytes qword - 8bytes short - 16 bytes long - 32 bytes super - 64 bytes == Conditions == - Format - <val1> <Operator> <val2> EXAMPLE: $x > 1 - Operations = - Checks if values are equal > - Checks if 1st value is greater than the 2nd < - Checks if 1st value is less than the 2nd >= - Checks if 1st value is greater than or equal to the 2nd >= - Checks if 1st value is less than or equal to the 2nd = - Checks if values are not equal == Inputs == - Input Syntax inputType varname; (no dollar sign) - inputShort - 16 bytes - inputWord - 2 bytes - inputSuper - 64 bytes