Loading...
MC68060 Software Package
MOTOROLA M68060 USER’S MANUAL C-25
* _dmem_write():
* Writes to data memory while in supervisor mode.
* INPUTS:
* a0 - supervisor source address
* a1 - user destination address
* d0 - number of bytes to write
* $4(a6),bit5 - 1 = supervisor mode, 0 = user mode
* OUTPUTS:
* d1 - 0 = success, !0 = failure
* _imem_read(), _dmem_read():
* Reads from data/instruction memory while in supervisor mode.
* INPUTS:
* a0 - user source address
* a1 - supervisor destination address
* d0 - number of bytes to read
* $4(a6),bit5 - 1 = supervisor mode, 0 = user mode
* OUTPUTS:
* d1 - 0 = success, !0 = failure
* _dmem_read_byte(), _dmem_read_word(), _dmem_read_long():
* Read a data byte/word/long from user memory.
* INPUTS:
* a0 - user source address
* $4(a6),bit5 - 1 = supervisor mode, 0 = user mode
* OUTPUTS:
* d0 - data byte/word/long in d0
* d1 - 0 = success, !0 = failure
* _dmem_write_byte(), dmem_write_word(), dmem_write_long():
* Write a data byte/word/long to user memory.
* INPUTS:
* a0 - user destination address
* d0 - data byte/word/long in d0
* $4(a6),bit5 - 1 = supervisor mode, 0 = user mode
* OUTPUTS:
* d1 - 0 = success, !0 = failure
* _imem_read_word(), _imem_read_long():
* Read an instruction word/long from user memory.
* INPUTS:
* a0 - user source address
* $4(a6),bit5 - 1 = supervisor mode, 0 = user mode
* OUTPUTS:
* d0 - instruction word/long in d0
* d1 - 0 = success, !0 = failure
Figure C-11. Register Usage of {i,d}mem_{read,write}_{b,w,l}
Loading...
Terms of Use | Privacy Policy | DMCA Policy
2006-2020 Rsmanuals.com