from table import * class SomeTable(Table): param_types = [ Pointer.where( defaults = {'points_to': CountTable.where( param_types = [ Byte, Byte, StringJPointer ], macro_name = 'dbbw', )} ) ] if __name__ == '__main__': with open('asm.txt', 'w') as out: out.write(SomeTable(0x17f706).to_asm())