function to write the output string to
instruction bytes
address (index into code[]) of start of instruction to disassemble
number of bytes in instruction (from calccodsize())
memory model, 16/32/64
use 'near ptr' when writing memory references
also prepend hex characters of object code
if not null, then function that returns a string representing the label for the memory address. Parameters are c for the address of the memory reference in code[], sz for the number of bytes in the referred to memory location, and offset for the value to be added to any symbol referenced.
if not null, then function that returns a string representation of immediate value. Parameters are code is the binary instructions, c is the address of the memory reference in code[], sz is the number of bytes in the instruction that form the referenece (2/4/8)
if not null, then function that returns a string representation of code label. Parameters are c is the address of the code reference to the label in code[], offset is the address of the label in code[], farflag is if far reference (seg:offset in 16 bit code), is16bit is if 16 bit reference
if not null, then function that returns a string representing the label for the target. Parameters are pc for the program counter value, and offset for the offset of the label from the pc.
Write to put() the disassembled instruction