0 Members and 3 Guests are viewing this topic.
I am looking for some software that would (as the title says) convert a file with ASM mnemonics into HEX code.
I think (s)he whants a program to convert the assembly code to readable hexadecimal code, instead of into a binary program file.
With SPASM, you can use the -T command-line option to generate a code listing (as well as -O to not specify an output file). This won't give the hex by itself, though, it's a bit more verbose.
A z80 assembler (almost any will do!) produces "both" a binary AND a list output with the hex codes beside the asm mnemonics!
I want only hex, plus things at the beginning or the end if you like, but not things that are hard to remove for lazy people
I know you said you wanted an offline solution, but maybe talk to Deep Thought about ORG. It gives an option to output the hex.
Quote from: Hayleia on December 04, 2013, 03:26:23 pmI want only hex, plus things at the beginning or the end if you like, but not things that are hard to remove for lazy people Well, with all that laziness, may i ask what do you need the hex codes for?
It's not "all that laziness", I'd like to see you remove half the line on every line of a file everytime you compiled it
Quote from: Hayleia on December 04, 2013, 03:35:49 pmIt's not "all that laziness", I'd like to see you remove half the line on every line of a file everytime you compiled it A very simple program can do it for you, you don't need to edit the file yourself...