def write_as_string
      @stream = StringIO.new
      write_init(@linker.cpu_init)
      write_debug
      write_objects
      write_code
      log.debug "Assembled 0x#{stream_position.to_s(16)} bytes"
      return @stream.string
    end
def write_as_string
      @stream = StringIO.new
      write_init(@linker.cpu_init)
      write_debug
      write_objects
      write_code
      log.debug "Assembled 0x#{stream_position.to_s(16)} bytes"
      return @stream.string
    end
objects must be written in same order as positioned by the linker, namely
 - intial jump
 - all objects
 - all BinaryCode