kiama.example.oberon0.machine.RISCISA

class Branch

[source: kiama/example/oberon0/machine/RISCISA.scala]

abstract class Branch
extends Instr
Abstract interface for all branch instructions. Branches are created using symbolic labels. The assembler sets the disp field once the symbolic label has been resolved to an offset.
Direct Known Subclasses:
RISCISA.BEQ, RISCISA.BNE, RISCISA.BLT, RISCISA.BGE, RISCISA.BLE, RISCISA.BGT, RISCISA.BR, RISCISA.BSR

Value Summary
var disp : Int
abstract val label : Int
Method Summary
override def toString : java.lang.String
Returns a string representation of the object.
Methods inherited from AnyRef
getClass, hashCode, equals, clone, notify, notifyAll, wait, wait, wait, finalize, ==, !=, eq, ne, synchronized
Methods inherited from Any
==, !=, isInstanceOf, asInstanceOf
Value Details
abstract val label : Int

var disp : Int

Method Details
override def toString : java.lang.String
Returns a string representation of the object.

The default representation is platform dependent.

Returns
a string representation of the object.