EASy68K
http://easy68k.com/EASy68Kforum/

Extra protected memory
http://easy68k.com/EASy68Kforum/viewtopic.php?f=8&t=813
Page 1 of 1

Author:  lee [ Sun Apr 18, 2010 1:22 am ]
Post subject:  Extra protected memory

If you set an invalid memory area then have an instruction with an address register indirect with predecrement effective address as the destination that is in this area only before the address register is decremented the access will cause a bus error at the decremented address.

E.g. ..
Code:
      MEMORY      invalid     $008000,$FFFFFF

      ORG   $1000

start
      MOVEA.l     #$8000,a0
      MOVE.b      #$00,-(a0)

      NOP

      END   start

.. causes a Bus Error: Instruction at 1006 accessing address 7fff

Lee.

Author:  profkelly [ Sat Apr 24, 2010 12:38 pm ]
Post subject: 

Corrected in v5.4.0

Page 1 of 1 All times are UTC
Powered by phpBB® Forum Software © phpBB Group
http://www.phpbb.com/