It is currently Sat, 04 Feb 2023 12:34:01 GMT



 
Author Message
 unaligned access?!
It  is the reference to the last message I sent, 2 or 3 messgaes before this
the memory fault was caused by 'unaligned access';
what is it?

--
*****************************************************************************
   Jacky Luk               whl...@silas.cc.monash.edu.au
                           whl...@nellads.cc.monash.edu.au
*****************************************************************************



 Mon, 16 Feb 1998 03:00:00 GMT   
 unaligned access?!
whl...@silas.cc.monash.edu.au (Mr. W. Luk) wrote:
Risc machines (and some cisc machines, e.g. 68k but not 68008) will typically
only allow accesses to data on 'natural' word boundaries. For example 16-bit
words can only be accessed on even addresses, 32-bit words can only be accessed
on addresses divisible by 4, etc. An unaligned access occurs if an attempt is
made to violate this rule, e.g. access a 16-bit word from an odd address.
--
David P Peter                              | It happens.
Insignia Solutions Plc.                    | Sometimes people just explode.
da...@isltd.insignia.com (David.Peter)     | Natural Causes.
Voice: +44 1494 453351                     | http://www.insignia.com/


 Mon, 16 Feb 1998 03:00:00 GMT   
 unaligned access?!

You should be given the instruction pointer in the unaligned access
message (may be called pa or something like that). Go in to dbx and
use

        0xpa/i

to find the instruction where the unaligned access happened.

Ken
--
-------------------------------------
Ken Steube            ste...@sdsc.edu
San Diego Supercomputer Center @ UCSD



 Mon, 16 Feb 1998 03:00:00 GMT   
 
   [ 3 post ] 

Similar Threads

1. Unaligned access (bus error) on Solaris on global variable

2. Signal handler for unaligned access: emulate and continue?

3. Signal handler for unaligned access: emulate and continue?

4. Fixing unaligned access Solaris 2.3

5. Wanted: Unaligned access exceptions

6. Help: Unaligned access?

7. unaligned access 3

8. Get GDB to stop at Unaligned access


 
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group.
Designed by ST Software