Commands can be used to change the flow control of vectors by changing the value of the program counter while the program is running. Commands can be various types including load registers or modify the next address provided by the program counter. The following commands can be executed:
● NOP – No operation. Go to the next step, the sequencer will not affect the program counter.
● Jump to Step X. The sequencer enables you to program a jump to any location and it can be conditional or unconditional.
● The jump command can be near or far. If the far jump command is used, the address can be anywhere in the 512K steps; however, the command cannot be conditional. If the jump is near, the address is 17 bits, within the current 128K-memory page.
● Loop to Step X. The sequencer allows you to perform a programmed number of jumps (a series of jumps) from the same address. The jump is always to a near address, in the current 128K-memory page.
● Call subroutine at X. The sequencer saves the address and allows you to perform a jump that remembers the location it jumped from (Y). It returns to Y+1 and can be conditional or unconditional. The address of the subroutine is a far address in eight step boundaries (0, 8, 16, etc.). One level can be used when calling a subroutine.
● Return. The sequencer returns to the address following the last Call command.
● Pause. A pause in the program.
● Halt. End of the program.
Note: See Appendix B for more information on how to code and decode commands. |