Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add to listing file disassembly of final machine code (new option) #82

Open
3 tasks
ped7g opened this issue Sep 27, 2019 · 0 comments
Open
3 tasks

Add to listing file disassembly of final machine code (new option) #82

ped7g opened this issue Sep 27, 2019 · 0 comments

Comments

@ped7g
Copy link
Collaborator

ped7g commented Sep 27, 2019

Similar to 64tass assembler for 6502 CPU, which has listing like this:

.080d	a9 00		lda #$00	start	lda	#$00
.080f	8d 20 d0	sta $d020		sta	$D020
.0812	60		rts			rts

(address, machine code, disassembled opcode, source line)

Especially considering how much of machine code can be in sjasmplus produced by various macros, fake instructions and scripts, it would be nice to have the disassembled view of final code in the listing.

tasks:

  • research feasibility, especially how well it is possible to detect if the emitted machine code are instructions or data, to not disassemble blocks of data bytes - figure out precise rules of the decision process wrt current implementation.
  • research Z80 disassemblers, what is available (source, license), and what's the API, if it's feasible to call it as binary, or link as library, or copy the sources into sjasmplus project
  • add option + do it. 🤣
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant