📄 disolate.s
字号:
/************************************************************* * File: lib/disolate.s * Purpose: Part of C runtime library * Author: Phil Bunce (pjb@carmel.com) * Revision History: * 970304 Start of revision history */#include <mips.h>/* * Support routines for the ATMizer * *//************************************************************** Ulong read_Disolated(adr)* read with the Dcache isolated* used when accessing the IRAM*/ .globl read_Disolated .ent read_Disolatedread_Disolated: .set noreorder mfc0 t0,C0_SR nop or t0,SR_ISC mtc0 t0,C0_SR nop nop lw v0,(a0) nop mfc0 t0,C0_SR nop and t0,~SR_ISC mtc0 t0,C0_SR nop .set reorder j ra .end read_Disolated/************************************************************** write_Disolated(adr,v)* write with the Dcache isolated* used when accessing the IRAM*/ .globl write_Disolated .ent write_Disolatedwrite_Disolated: .set noreorder mfc0 t0,C0_SR nop or t0,SR_ISC mtc0 t0,C0_SR nop nop sw a1,(a0) nop mfc0 t0,C0_SR nop and t0,~SR_ISC mtc0 t0,C0_SR nop .set reorder j ra .end write_Disolated
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -