Class: Ragweed::Rasm::Label

Inherits:
Immed show all
Defined in:
lib/ragweed/rasm/isa.rb

Overview

A label. Like an Immed with a default value and a different wrapper.

Instance Attribute Summary

Attributes inherited from Immed

#val

Instance Method Summary collapse

Methods inherited from Immed

#method_missing

Constructor Details

#initialize(i = rand(0x1FFFFFFF)) ⇒ Label

Returns a new instance of Label.



223
# File 'lib/ragweed/rasm/isa.rb', line 223

def initialize(i=rand(0x1FFFFFFF)); super i; end

Dynamic Method Handling

This class handles dynamic methods through the method_missing method in the class Ragweed::Rasm::Immed