Welcome, Guest. Please login or register.

Author Topic: Move16 to chipmem ...  (Read 3386 times)

Description:

0 Members and 1 Guest are viewing this topic.

Offline peroxidechicken

  • Full Member
  • ***
  • Join Date: Apr 2002
  • Posts: 170
    • Show all replies
Re: Move16 to chipmem ...
« on: March 18, 2004, 09:00:57 PM »
Recently I was writing a small routine for clearing memory and I thought to myself 'Doing this 4 bytes at a time is kind of a drag'.  But I didn't want to write something that would require a cpu check.  Then I realized there's a kind of 'move64' that all 68ks will do - movem.l d0-d7/a0-a7.  Although in most cases, one address register is going to be needed as a pointer into memory.  Not sure if that instruction works with a direct address...  
H2O2