Warning
You are reading an old version of this documentation. If you want up-to-date information, please have a look at 5.0 .Reserved memory
Registers
Registers reserved by default
Most of the registers used by the plugin can be modified if needed in the input parameters of the programs. But if they are not changed, the default register numbers used are those listed in Default registers.
Register number |
Register type |
Description |
---|---|---|
R[21] |
Registers |
Stores the last error found by EYE_CHECK_LAST_ERROR |
PR[20] |
Position Reg |
Stores the last part coordinates found by EYE_GET_PART |
SR[20] |
String Reg |
Stores the last response found by EYE_RAW_COMMAND |
Note
Once the registers are chosen, consider them reserved by Asyril.
Reserved registers
Three registers must never be modified by another program.
Register number |
Register type |
---|---|
R[18] |
Registers |
R[19] |
Registers |
R[20] |
Registers |
Important
If you modify any of these private registers, you may encounter unexpected behavior.
Semaphores
Semaphores are only dedicated to KAREL programs. These semaphores are shared from one KAREL program to another. Therefore, if you use another KAREL program, make sure you do not use the same semaphore as these:
Semaphore 22
Semaphore 23
Semaphore 24
Semaphore 25
Semaphore 26
Semaphore 27
Warning
These semaphores are dedicated to communication synchronization. If you modify one of them, you may encounter unexpected behavior.