| org.dgpf.gp.automaton.instructions | |||
| ├IfJump.java | 4.868 KB | 2012-05-02 03:10:50 GMT+0000 | |
| ├IfJumpHandler.java | 8.991 KB | 2012-05-02 03:10:50 GMT+0000 | |
| ├package.html | 1.480 KB | 2012-05-02 03:10:50 GMT+0000 | |
| ├Write.java | 6.530 KB | 2012-05-02 03:10:50 GMT+0000 | |
| └WriteHandler.java | 9.955 KB | 2012-05-02 03:10:50 GMT+0000 |
This package contains the predefined instructions for automata.
The following instructions have been defined:
| Instructions | |
|---|---|
IfJump <expression>, <segment> |
A conditional, absolute jump. If condition <expression> evaluates to true (that is, returns a non-zero value),
the jump will be performed. Jumps can only target at segment starts. It is not possible to jump right into the middle of a segment. |
Write [<addr>], <expression> |
Absolute memory access. Write the value returned by <expression> to the memory cell with the address <addr>. |
Write [[<addr>]], <expression> |
Relative memory access. Write the value returned by <expression> to the memory cell referred by the memory cell with the address <addr>. |
Sleep <expression> |
Put the CPU for <expression> ticks into sleep mode. |