Package net.sourceforge.uiq3.fx602p
Class Op_Goto
- java.lang.Object
-
- net.sourceforge.uiq3.fx602p.Owned_Operation
-
- net.sourceforge.uiq3.fx602p.Op_Goto
-
- All Implemented Interfaces:
IClear,IOperation,IOwned_Operation,IProgrammable_Operation
final class Op_Goto extends Owned_Operation implements IProgrammable_Operation
Halt Calculator- Author:
- "Martin Krischik" «krischik@users.sourceforge.net»
-
-
Constructor Summary
Constructors Constructor Description Op_Goto(@NotNull Calculator Owner)Create operation and attach to owning calculator.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidClear(boolean AC)Reset state - for state full operations.short @NotNull []Display(short Opcode)Display Operation in Prog mode.voidExecute(short Opcode)execute GOTO operation-
Methods inherited from class net.sourceforge.uiq3.fx602p.Owned_Operation
µReset, toString
-
-
-
-
Constructor Detail
-
Op_Goto
Op_Goto(@NotNull @NotNull Calculator Owner)Create operation and attach to owning calculator.- Parameters:
Owner- Calculator which will call this Opcode
-
-
Method Detail
-
Clear
public void Clear(boolean AC)
Reset state - for state full operations.- Specified by:
Clearin interfaceIClear- Parameters:
AC- All Clear reset- See Also:
IClear.Clear(boolean)
-
Display
public short @NotNull [] Display(short Opcode) throws Op_ErrorDisplay Operation in Prog mode.- Specified by:
Displayin interfaceIProgrammable_Operation- Parameters:
Opcode- Virtual CPU Operation to be executed- Returns:
- String to be displayed
- Throws:
Op_Error- See Also:
IProgrammable_Operation.Display(short)
-
Execute
public void Execute(short Opcode) throws Go_Errorexecute GOTO operation
- Specified by:
Executein interfaceIOperation- Parameters:
Opcode- Virtual CPU Operation to be executed- Throws:
Go_Error- Label not found.- See Also:
IOperation.Execute(short)
-
-