@Test public void execute() throws Exception { Status status = new Status(); status.clear(); BrkInstruction brkInstruction = new BrkInstruction(); brkInstruction.execute(status); assertTrue(status.isBreakFlag()); }
@Override public Status execute(Status status) { status.setBreakFlag(true); return status; }
BrkInstruction extends Instruction { @Override public Status execute(Status status) { status.setBreakFlag(true); return status; } }
BrkInstruction extends Instruction { @Override public Status execute(Status status) { status.setBreakFlag(true); return status; } BrkInstruction(); }
BrkInstruction extends Instruction { @Override public Status execute(Status status) { status.setBreakFlag(true); return status; } BrkInstruction(); @Override Status execute(Status status); boolean noOperandsValid(); }
BrkInstruction extends Instruction { @Override public Status execute(Status status) { status.setBreakFlag(true); return status; } BrkInstruction(); @Override Status execute(Status status); boolean noOperandsValid(); static final int OPCODE; }