net.sf.farrago.fennel.calc
Class CalcProgramBuilder.JumpInstructionDef
java.lang.Object
net.sf.farrago.fennel.calc.CalcProgramBuilder.InstructionDef
net.sf.farrago.fennel.calc.CalcProgramBuilder.JumpInstructionDef
- Enclosing class:
- CalcProgramBuilder
static class CalcProgramBuilder.JumpInstructionDef
- extends CalcProgramBuilder.InstructionDef
CalcProgramBuilder.JumpInstructionDef
CalcProgramBuilder.JumpInstructionDef(String name,
int regCount)
add
void add(CalcProgramBuilder builder,
CalcProgramBuilder.Operand... operands)
- Description copied from class:
CalcProgramBuilder.InstructionDef
- Adds this instruction with a set of operands to a program.
The default implementation casts each operand to a CalcReg
, and calls CalcProgramBuilder.InstructionDef.add(CalcProgramBuilder, CalcReg[])
. If
this instruction's operands are not registers, override this method.
- Overrides:
add
in class CalcProgramBuilder.InstructionDef
- Parameters:
builder
- Program builderoperands
- Operands
add
void add(CalcProgramBuilder builder,
int line)
add
void add(CalcProgramBuilder builder,
String label)
add
void add(CalcProgramBuilder builder,
int line,
CalcReg reg)
add
void add(CalcProgramBuilder builder,
String label,
CalcReg reg)