Elektronika MK-52 - Example of Operation

Example of Operation

This example demonstrates the entry of a program (which simply adds 1 to the input number and displays the result) and the saving and loading of this program to/from the EEPROM module.

Step 1: Clear the memory

The program will be four steps long (as will be explained in step 2) and, hence, requires 4 bytes of EEPROM. The memory is cleared using the following procedure:

Switch the clear/write/read switch to 'clear' and ensure that the data/program switch is set to 'program'.

In automatic mode, enter '1000004' (4 bytes starting at address '0000').

Press (a key that looks like in the bottom left).

Press (a key that looks like above the bottom left key).

Step 2: Enter the program

Switch the clear/write/read switch to 'write'.

Enter programming mode.

Enter program. For the one described above, the following procedure may be used:

- initially the screen should display " 00", prompting for input.

(looks like )

- the screen should now display "10 01 0E 03".

(looks like )

- the screen should now display "50 10 01 04".

The program should now be in volatile memory.

Note that the program contains four steps. Each program step requires 1 byte of memory, hence the '04' at the end of the '1000004' command.

Enter automatic mode.

One may now press (looks like ) to return to the start of the program.

One may now enter a number, then press to run the program. The result (the input number plus 1) should then be displayed.

Step 3: Write to memory

Switch the clear/write/read switch to 'write'.

If it is not still displayed, then enter '1000004' in automatic mode.

Press (a key that looks like in the bottom left).

Press (a key that looks like above the bottom left key).

The program should now be written to the EEPROM module. You may now power off the machine in the knowledge that the program is stored safely.

Step 4: Read from memory.

Power on the machine.

Switch the clear/write/read switch to 'read'.

Enter '1000004' in automatic mode.

Press (a key that looks like in the bottom left).

Press (a key that looks like above the bottom left key).

The stored program should now be transferred to volatile memory and ready for use.

Similar procedures may be used to read and write register data (set the two position switch to data for these procedures).

Read more about this topic:  Elektronika MK-52

Famous quotes containing the word operation:

    It requires a surgical operation to get a joke well into a Scotch understanding. The only idea of wit, or rather that inferior variety of the electric talent which prevails occasionally in the North, and which, under the name of “Wut,” is so infinitely distressing to people of good taste, is laughing immoderately at stated intervals.
    Sydney Smith (1771–1845)