Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.sys.acorn.programmer > #1894

Re: Assembler Help. (AKA UMoria Video refresh loop.)

Date 2012-07-07 03:07 +0300
From Fred Graute <fjgraute@casema.nl>
Newsgroups comp.sys.acorn.programmer
Subject Re: Assembler Help. (AKA UMoria Video refresh loop.)
Message-ID <b17f46ab52.fjgraute@casema.nl> (permalink)
References (1 earlier) <56630091-6bfd-4e00-bc90-5787c4637779@f30g2000vbz.googlegroups.com> <62b4d0ac-f4dd-496f-9196-730c740b6513@googlegroups.com> <mpro.m6nfj400dzsbf02ts@wingsandbeaks.org.uk.invalid> <JBk*1rx-t@news.chiark.greenend.org.uk> <4dc35184-4321-4614-9483-e4b6dddd6fbe@q2g2000vbv.googlegroups.com>
Organization None

Show all headers | View raw


In message <4dc35184-4321-4614-9483-e4b6dddd6fbe@q2g2000vbv.googlegroups.com>
          Gazza <usenet@garethlock.com> wrote:

> Current listing is http://www.garethlock.com/DemoASM/06-07-12/06-07-12.txt
>
> 1.  Still trying to position the stack allocation beyond the end of
> the initialized data at the end of the image. I've calculated the
> correct address at stackptr, but all I seem to be able to to is load
> R13 with the pointer's memory address, rather than the contents of
> that address. This is frustrating.

Are you sure you are interpreting the disassembly correctly?

  LDR   R13,&00008090

Means load the value at address &00008090 (which is &000090F4) into R13,
it does not mean load the value &00008090 into R13.

> 2.  Creating a Disassembly listing using Zap in code mode hasn't got
> me much further in diagnosing where the object code is faulting. That
> listing is http://www.garethlock.com/DemoASM/06-07-12/DisASM.txt

Tip: you can 'follow' pc-relative loads in disassembly mode by placing
the cursor on the line and pressing cursor right. This will take you to
the address from which the value is loaded, use cursor left to return to
the original address. This works with both Zap and StrongED.

HTH

-- 
Fred Graute
http://www.stronged.iconbar.com/

Back to comp.sys.acorn.programmer | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

Assembler Help. (AKA UMoria Video refresh loop.) Gazza <usenet@garethlock.com> - 2012-06-29 06:44 -0700
  Re: Assembler Help. (AKA UMoria Video refresh loop.) Gazza <usenet@garethlock.com> - 2012-06-29 13:52 -0700
    Re: Assembler Help. (AKA UMoria Video refresh loop.) chrisbazley@bigfoot.com - 2012-06-30 03:01 -0700
      Re: Assembler Help. (AKA UMoria Video refresh loop.) druck <news@druck.org.uk> - 2012-06-30 21:31 +0100
        Re: Assembler Help. (AKA UMoria Video refresh loop.) Gazza <usenet@garethlock.com> - 2012-07-01 04:02 -0700
        Re: Assembler Help. (AKA UMoria Video refresh loop.) Gazza <usenet@garethlock.com> - 2012-07-01 04:01 -0700
        Re: Assembler Help. (AKA UMoria Video refresh loop.) Gazza <usenet@garethlock.com> - 2012-07-01 04:15 -0700
          Re: Assembler Help. (AKA UMoria Video refresh loop.) druck <news@druck.org.uk> - 2012-07-01 19:59 +0100
            Re: Assembler Help. (AKA UMoria Video refresh loop.) Gazza <usenet@garethlock.com> - 2012-07-01 14:43 -0700
              Re: Assembler Help. (AKA UMoria Video refresh loop.) druck <news@druck.org.uk> - 2012-07-03 20:57 +0100
                Re: Assembler Help. (AKA UMoria Video refresh loop.) Gazza <usenet@garethlock.com> - 2012-07-03 16:20 -0700
                Re: Assembler Help. (AKA UMoria Video refresh loop.) Gazza <usenet@garethlock.com> - 2012-07-04 05:36 -0700
                Re: Assembler Help. (AKA UMoria Video refresh loop.) Martin Bazley <martin.bazley@blueyonder.co.uk> - 2012-07-04 13:49 +0100
                Re: Assembler Help. (AKA UMoria Video refresh loop.) Gazza <usenet@garethlock.com> - 2012-07-04 09:10 -0700
                Re: Assembler Help. (AKA UMoria Video refresh loop.) Chris Johnson <chrisjohnson+news@spamcop.net> - 2012-07-04 17:28 +0100
                Re: Assembler Help. (AKA UMoria Video refresh loop.) Gazza <usenet@garethlock.com> - 2012-07-04 11:18 -0700
                Re: Assembler Help. (AKA UMoria Video refresh loop.) druck <news@druck.org.uk> - 2012-07-04 20:03 +0100
      Re: Assembler Help. (AKA UMoria Video refresh loop.) Jeremy Nicoll - news posts <jn.nntp.scrap007@wingsandbeaks.org.uk> - 2012-07-04 19:33 +0100
        Re: Assembler Help. (AKA UMoria Video refresh loop.) Theo Markettos <theom+news@chiark.greenend.org.uk> - 2012-07-05 18:41 +0100
          Re: Assembler Help. (AKA UMoria Video refresh loop.) Gazza <usenet@garethlock.com> - 2012-07-06 09:40 -0700
            Re: Assembler Help. (AKA UMoria Video refresh loop.) Martin Bazley <martin.bazley@blueyonder.co.uk> - 2012-07-06 18:13 +0100
              Re: Assembler Help. (AKA UMoria Video refresh loop.) Gazza <usenet@garethlock.com> - 2012-07-06 10:49 -0700
                Re: Assembler Help. (AKA UMoria Video refresh loop.) Martin Bazley <martin.bazley@blueyonder.co.uk> - 2012-07-06 23:29 +0100
                Re: Assembler Help. (AKA UMoria Video refresh loop.) Gazza <usenet@garethlock.com> - 2012-07-06 15:46 -0700
            Re: Assembler Help. (AKA UMoria Video refresh loop.) Fred Graute <fjgraute@casema.nl> - 2012-07-07 03:07 +0300
    Re: Assembler Help. (AKA UMoria Video refresh loop.) chrisbazley@bigfoot.com - 2012-06-30 04:21 -0700

csiph-web