def add_inote(self, msg, idx, off=None):
if off != None:<EOL><INDENT>idx = self.off_to_pos(off)<EOL><DEDENT>if idx not in self.notes:<EOL><INDENT>self.notes[idx] = []<EOL><DEDENT>self.notes[idx].append(msg)<EOL>
Add a message to a specific instruction by using (default) the index of the address if specified

:param msg: the message
:type msg: string
:param idx: index of the instruction (the position in the list of the instruction)
:type idx: int
:param off: address of the instruction
:type off: int