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


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

Re: DragASprite_Start (ARMv7)

From Martin Wuerthner <spamtrap@mw-software.com>
Newsgroups comp.sys.acorn.programmer
Subject Re: DragASprite_Start (ARMv7)
Date 2011-11-30 14:09 +0100
Organization MW Software
Message-ID <6b3a423a52.martin@bach.planiverse.com> (permalink)
References <523a3825deIan.Hamilton@AAUG.Net>

Show all headers | View raw


In message <523a3825deIan.Hamilton@AAUG.Net>
          Ian Hamilton <Ian.Hamilton@AAUG.net> wrote:

> What limitations are there for DragASprite_Start under ARMv7? Which
> elements need to be word aligned?

I am not aware of any API differences caused by ARMv7. Unless stated 
otherwise, all pointers to word sized fields or structures that 
contain word sized fields at word aligned offsets need to be word 
aligned on entry to any RISC OS SWI on any processor.

ARMv7 does not make any difference. Earlier processors could not read 
a word sized field from an unaligned address using a single load 
instruction either, so it never made sense to have unaligned pointers 
to word sized fields.

-- 
Martin
---------------------------------------------------------------------
Martin Wuerthner         MW Software      http://www.mw-software.com/
        RISC OS Software for Design, Printing and Publishing
---------------------------------------------------------------------

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


Thread

DragASprite_Start (ARMv7) Ian Hamilton <Ian.Hamilton@AAUG.net> - 2011-11-30 11:19 +0000
  Re: DragASprite_Start (ARMv7) Martin Wuerthner <spamtrap@mw-software.com> - 2011-11-30 14:09 +0100
    Re: DragASprite_Start (ARMv7) Ian Hamilton <Ian.Hamilton@AAUG.net> - 2011-11-30 13:22 +0000

csiph-web