'Constructor.
:param archinfo.Arch arch: The architecture instance.
:param dict options: Architecture-specific options, which will be used to initialize this object.'

def __init__(self, arch, **options):

    self.arch = arch
    self._options = {}
    if (self.arch.name in self.OPTIONS):
        for (k, (_, value)) in self.OPTIONS[self.arch.name].iteritems():
            self._options[k] = value
    for k in options.iterkeys():
        if ((self.arch.name not in self.OPTIONS) or (k not in self.OPTIONS[self.arch.name])):
            raise KeyError(('Architecture    %s    does    not    support    arch-specific    option    "%s".' % (self.arch.name, k)))
    for (k, v) in options.iteritems():
        self.__setattr__(k, v)
