ref: 5521aa5ce0ad5249ff0d369dd33b4f63cd804b73
parent: b38e2874095266d45df984be778d9fe68832aaac
author: yenatch <[email protected]>
date: Wed May 15 10:49:49 EDT 2013
gbz80disasm: include comments on unresolved backward relative jumps
--- a/extras/gbz80disasm.py
+++ b/extras/gbz80disasm.py
@@ -718,7 +718,8 @@
byte_labels[target_address]["definition"] = False
insertion = line_label2.lower()
- include_comment = False
+ if has_outstanding_labels(byte_labels) and all_outstanding_labels_are_reverse(byte_labels, offset):
+ include_comment = True
elif current_byte == 0x3e:
last_a_address = rom[offset + 1]