def write_val(val):
                word_bytes[2] = val
                word_packed = struct.pack('>4B', *word_bytes)
                if val == 0:
                    self.parent.write(self.name, word_packed, OFFSET_FLAGS)
                else:
                    self.parent.blindwrite(self.name, word_packed, OFFSET_FLAGS)