Skip to main content

Basic operations

The basic operations are based on key and combo keys inputs.

Primary Menu

Use four keys (, , and ) to move the cursor among the following options and use key to confirm the choice.

  1. EDIT
  2. RUN
  3. SAVE
  4. LOAD

主屏幕菜单

Use key to retrun to the primary menu, from RUN, SAVE and LOAD; Use + to return from EDIT.

Zero a Line

In EDIT mode,quickly press key 3 times will clear the current line and reset the instruction and opcodes to zeros.

tip
00 0000 0000

Afterwards, key must be pressed once and the cursor moves back to the line number,to confirm the change.

Return to the Primary Menu

Use combo key + to return to the primary menu.

Run Mode

In the Primary Menu, choose 2:RUN for Running Mode,the program will start from line 000 and run to the end of the program with 0F, or to an infinite loop depending on the program logic.

主屏幕信息:运行中

When the program ends, a message "END" is shown on the primary display.

主屏幕信息:运行结束

caution

The primary display refreshes about every 200ms, which is much slower than the CPU processing speed. Therefore it is possible that the current line number does not update correctly.

caution

STEP mode is supported for debugging purposes, it is possible to run the entire program line by line.

Debug

In RUN mode, either the program is running or stopped, pressing key to enter debug mode, the program will pause and the program counter stays at the current line. Pressing key will execute the next line.

主屏幕信息:调试过程

tip

Press key to quit debug mode,the program will continue in the regular running mode.

Reset program

In [Run Mode](#Run Mode),press key to reset the program counter to line 000 and continue running.

In Debug Mode,press key to reset the program counter to line 000, but stay at line 000 and waiting for step debugging by pressing key.

Using input keys in program

It is allowed to use , , , , and as in-program input keys by running the correspoding instruction E0 in a program.

E0 0000 0000
info

After instruction E0, the above mentioned 6 keys will be taken over by the program as in-program input, the status of the keys can be obtained from register 3F.

Meanwhile, on the top-right corner of the secondary screen, a joystick icon blinks until the program terminated.

To terminate the program, + + must be pressed instead of only + in regular mode.