<< Previous Message Main Index Next Message >>
<< Previous Message in Thread This Month Next Message in Thread >>
Date   : Tue, 16 Jun 2009 22:16:17 +0100
From   : pete@... (Pete Turnbull)
Subject: Am I saving or loading 1 byte too many....?

On 16/06/2009 21:54, Mark Haysman wrote:
> Hi folks.
> 
> Okay, this is giving me a headache, and I can't decide which way round is 
> right, but I'm sure you guys will flog me and tell me a definative answer.
> 
> *SAVE <xxxx> 3000 4000
> 
> Should that save the actual byte at &4000 or not?

It would save the byte at &4000, giving a file length of &1001.  It's 
often easier to use the "+<length>" form instead of the end address.

> Similarly:
> 
> *LOAD <xxxx> 3000 4000

Wrong syntax.  *LOAD only takes two parameters, the filename and load 
address.

-- 
Pete                                           Peter Turnbull
                                               Network Manager
                                               University of York
<< Previous Message Main Index Next Message >>
<< Previous Message in Thread This Month Next Message in Thread >>