Motorola MC68030 User Manual page 78

Enhanced 32-bit microprocessor
Hide thumbs Also See for MC68030:
Table of Contents

Advertisement

Data Organization and Addressing Capabilities
To implement growth of the queue from high to low memory, use:
–(An) to put data into the queue,
–(Am) to get data from the queue.
After a "put'' operation, the "put'' address register points to the last item place din the queue,
and the unchanged "get'' address register points to the last item removed from the queue.
After a "get'' operation, the "get'' address register points to the last item removed from the
queue, and the unchanged "put'' address register points to the last item placed in the queue.
This is illustrated as:
To implement the queue as a circular buffer, the "get'' or "put'' operation should be
performed first, and then the relevant address register should be checkout and adjusted, if
necessary. The address register is adjusted by adding the buffer length (in bytes) to the
register contents.
2-40
LOW MEMORY
LAST PUT
PUT - (An)
NEXT GET
GET - (Am)
LAST GET (FREE)
HIGH MEMORY
MC68030 USER'S MANUAL
(FREE)
MOTOROLA

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents