Class: MicroCisc::Vm::EmptyDevice

Inherits:
Device
  • Object
show all
Defined in:
lib/micro_cisc/vm/empty_device.rb

Instance Attribute Summary

Attributes inherited from Device

#id

Instance Method Summary collapse

Methods inherited from Device

#bank_index=, #banked?, #devices=, #handle_control_read, #handle_control_update, #read_control, #read_mem, #source_halted, #write_control, #write_mem

Constructor Details

#initializeEmptyDevice

Returns a new instance of EmptyDevice.



4
5
6
# File 'lib/micro_cisc/vm/empty_device.rb', line 4

def initialize
  super(0, 0, 0)
end