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

Re: 'Hello world' for monitor mode and an assembler?



russotto@grace.speakeasy.net (Matthew Russotto) writes:

> In article <pan.2004.09.09.19.48.25.837776@ataliross.co.uk>,
> Alistair J Ross  <mail@ataliross.co.uk> wrote:
> >
> >300: JSR $FBDD
> >303: RTS
> >
> >I had to know that JSR $FBDD was 2 memory instructions long. 
> Actually, it's 3.  20 DD FB, I think.
> 
> But it's easier than that.
> 
> ! 300: JSR $FBDD
> !  RTS

How about

  300: JMP $FBDD

and let it do the RTS.

Scott
-- 
Scott Hemphill	hemphill@alumni.caltech.edu
"This isn't flying.  This is falling, with style."  -- Buzz Lightyear