Minor
diff --git a/Lib/fontTools/ttLib/tables/ttProgram.py b/Lib/fontTools/ttLib/tables/ttProgram.py
index bdc14e8..bcd33fa 100644
--- a/Lib/fontTools/ttLib/tables/ttProgram.py
+++ b/Lib/fontTools/ttLib/tables/ttProgram.py
@@ -226,7 +226,7 @@
 		return self.assembly
 	
 	def toXML(self, writer, ttFont):
-		if hasattr (ttFont, "disassembleInstructions") and ttFont.disassembleInstructions:
+		if not hasattr (ttFont, "disassembleInstructions") or ttFont.disassembleInstructions:
 			assembly = self.getAssembly()
 			writer.begintag("assembly")
 			writer.newline()