Fork of Lambertsen & Jenner (& al.)'s IA-16 (Intel 16-bit x86) port of GNU compilers ― added far pointers & more • use https://github.com/tkchia/build-ia16 to build • Ubuntu binaries at https://launchpad.net/%7Etkchia/+archive/ubuntu/build-ia16/ • DJGPP/MS-DOS binaries at https://gitlab.com/tkchia/build-ia16/-/releases • mirror of https://gitlab.com/tkchia/gcc-ia16
GNU General Public License v2.0
179
stars
13
forks
source link
[Feature request] Indicate relocations in assembler listing #106
I want the square brackets so as to help my trace listing program to identify the current instruction. Here's the logic (sorry for unreadable perl code) to skip over bytes sent from the debugger if they appear to match up to listing file opcode bytes enclosed in square brackets.
This is an example assembly listing file output using gcc-ia16 with appropriate parameters: (Copied from my other issue earlier today.)
This is how NASM's
-f bin
output format indicates relocations in the listing, note the square brackets:I want the square brackets so as to help my trace listing program to identify the current instruction. Here's the logic (sorry for unreadable perl code) to skip over bytes sent from the debugger if they appear to match up to listing file opcode bytes enclosed in square brackets.