Uses of Class
dev.zemco.codegame.execution.instructions.InstructionExecutionException
Packages that use InstructionExecutionException
-
Uses of InstructionExecutionException in dev.zemco.codegame.execution.instructions
Methods in dev.zemco.codegame.execution.instructions that throw InstructionExecutionExceptionModifier and TypeMethodDescriptionvoidAbstractCopyInstruction.execute(IExecutionContext executionContext) Copies the value from the sourcememory cellto the destinationmemory cell.voidAdditionInstruction.execute(IExecutionContext executionContext) Adds constant to value held in workingmemory cell.voidIInstruction.execute(IExecutionContext executionContext) Executes instruction on a givencontext.voidInputInstruction.execute(IExecutionContext executionContext) Takes next value frominput sourceand copies it to the workingmemory cell.voidJumpInstruction.execute(IExecutionContext executionContext) Requests theengineto perform a jump to the target jump label.voidOutputInstruction.execute(IExecutionContext executionContext) Emits current value in workingmemory celltooutput sink.protected abstract IMemoryCellAbstractCopyInstruction.getDestinationMemoryCell(IMemory memory) Retrieves the destinationmemory cellfor copying.protected IMemoryCellCopyToInstruction.getDestinationMemoryCell(IMemory memory) protected IMemoryCellAbstractCopyInstruction.getMemoryCellAtAddress(IMemory memory, int address) Retrieves amemory cellat a given address.protected abstract IMemoryCellAbstractCopyInstruction.getSourceMemoryCell(IMemory memory) Retrieves the sourcememory cellfor copying.protected IMemoryCellCopyFromInstruction.getSourceMemoryCell(IMemory memory) protected booleanJumpIfZeroInstruction.shouldPerformJump(IExecutionContext executionContext) Checks if the value of the workingmemory cellis equal to zero.protected booleanJumpInstruction.shouldPerformJump(IExecutionContext executionContext) Checks if the instruction should request theengineto perform a jump.