larsbrinkhoff / pdp10-its-disassembler

Disassembler and other tools for files in ITS formats
GNU General Public License v2.0
19 stars 13 forks source link

Heuristic: halfwords #102

Open larsbrinkhoff opened 2 years ago

larsbrinkhoff commented 2 years ago

If the disassembler can't produce symbolic output for a word, try to process halfwords separately.

larsbrinkhoff commented 2 years ago

This is useful for common cases where the assembly is FOO,,BAR. Especially if both halfwords have 0 or 7 as the most significant octal digit. A negative halfword can try both with and without sign extension to 36 bits.