Atlantis wrote:
Ok, I already found the cause. I had been using ORG statement to define variables, so assembler put them into bin file, with a lot of 0x00s between data and program. Then I've noticed that original EhBasic code uses EQ labels to define addresses of variables. Now generated hexes contain only a code, without variables.
You don't mention what assembler you were using or what pseudo-ops you were using to reserve space in the `ORG` sections, but with some assemblers, so long as you use
reservation pseudo-ops such as DS rather than
definition pseudo-ops such as DB, output will not be generated. Others may generate output (typically zeros) for that area, though they ought not.