Typewriter User Manual

MOTOROLA MC68340 USER’S MANUAL 6- 45
* Source address is equal to $6001, and odd address.
MOVE.L SARADD,DMASAR1(A0)
* Initialize destination operand address
* Destination address is equal to $10000, and even address.
MOVE.L DARADD,DMADAR1(A0)
* Initialize the byte transfer count register
* The number of bytes to be transferred is $14 or 20 bytes
MOVE.L NUMBYTE,DMABTC1(A0)
* Channel control reg. init. and Start DMA transfers
* No interrupts are enabled, source (read) cycle.
* Increment the source and destination addresses.
* Source size is byte, destination size is word. REQ is external cycle steal.
* dual-address transfers, start the DMA transfers.
MOVE.W #$1DB1,DMACCR1(A0)
***************************************************************************
END
***************************************************************************
Frees
cale Semiconductor,
I
Freescale Semiconductor, Inc.
For More Information On This Product,
Go to: www.freescale.com
nc...