[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Merlin assembler question



On Jun 18, 11:18 am, aiiad...@gmail.com wrote:
> On Jun 18, 7:26 am, "(Wolfgang Kemper)" <wkem...@ti.com> wrote:
>
> > Hmm, it should do it.
> >  It also mentioned it in the Manual to go to the monitor and review
> > the program.
>
> read the docs about where Merlin resides...
>
> you probably need to put it somewhere besides $300

Here is an excerpt from the Merlin Manual:

MERLIN resides in memory from $1000 (4096) to $2100 (8449) and BASIC
has been moved up to $2101 (8449) to allow for this. MERLIN will not
assemble in that part of memory ($1000-2100) and will warn as
necessary. Beware when changing BASIC pointers and assembling near
MERLIN.


Just to test it I deleted the org statement:

 BELL  EQU     $F8DD

 START JSR     BELL    ;RING THE BELL

 END   RTS

Merlin will assemble it at $8000
sure enough it is not htere when I look with the monitor.
exiting Merlin, bload test.....call -151 .... 8000l

Voila :
8000- 20 dd f8    jsr   $f8dd
8003- 60            rts

I tried also org $4000 which should be save anyway but same result.
If I call the monitor from the Merlin editor I do not see the
assembled code.

Merlin programmer:
 is this the normal way to run the assembled programs?