⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 asm_mips.s79

📁 IAR编译环境下的AT91SAM7S64芯片的PWM输出演示
💻 S79
字号:
;------------------------------------------------------------------------------
;-         ATMEL Microcontroller Software Support  -  ROUSSET  -
;------------------------------------------------------------------------------
; The software is delivered "AS IS" without warranty or condition of any
; kind, either express, implied or statutory. This includes without
; limitation any warranty or condition with respect to merchantability or
; fitness for any particular purpose, or against the infringements of
; intellectual property rights of others.
;-----------------------------------------------------------------------------
;- File source          : asm_mips.s79
;- Object               : Main loop function can be assembly in ARM or THUMB
;-                        This function read DATA in data area with or without
;-			  Wait state
;-
;- Compilation flag     : None
;-
;- 1.0 02/Jul/04 JPP    : Creation
;- 1.0 05/Apr/05 JPP    : Suppress unused entry
;------------------------------------------------------------------------------

#include  "MIPS.mac"
;------------------------------------------------------------------------------
;- Area Definition
;------------------------------------------------------------------------------

;------------------------------------------------------------------------------
;- Function             : asm_mips
;- Parameter
;- Treatments           : Infinite loop for measurement in thumb modes
;-                        It is loop of 40 instruction with 3 loss cycle for 
;-			  read external memory (Need know wait state) and one 
;-			  pipeline break
;- Called Functions     : None
;- Called Macros        : None
;------------------------------------------------------------------------------
;- (TC) Counter Clock Disable Command
;
;		PROGRAM	?ARM_mips
;		RSEG	ICODE:CODE:ROOT(2)
;		CODE32	; 
;		
;		PUBLIC	ARM_mips
;ARM_mips:
;		MIPS
;		ENDMOD
         
         	PROGRAM	?THUMB_mips
		RSEG	ICODE:CODE:ROOT(2)
		CODE16	; 		
		PUBLIC	THUMB_mips
THUMB_mips:
                MIPS
		ENDMOD

;------------------------------------------------------------------------------
;- Function             : Ram_ARM_mips
;- Parameter
;- Treatments           : Infinite loop for measurement in thumb modes
;-                        It is loop of 40 instruction with 3 loss cycle for 
;-			  read external memory (Need know wait state) and one 
;-			  pipeline break
;------------------------------------------------------------------------------
;
;		PROGRAM	?Ram_ARM_mips
;		RSEG	CODE_I:CODE:ROOT(2)
;		CODE32	; 
;		
;		PUBLIC	Ram_ARM_mips
;Ram_ARM_mips:
;		MIPS
;		ENDMOD
;------------------------------------------------------------------------------
;- Function             : Ram_ARM_mips
;- Parameter
;- Treatments           : Infinite loop for measurement in thumb modes
;-                        It is loop of 40 instruction with 3 loss cycle for 
;-			  read external memory (Need know wait state) and one 
;-			  pipeline break
;------------------------------------------------------------------------------	
;		PROGRAM	?Ram_THUMB_mips
;		RSEG	CODE_I:CODE:ROOT(2)
;		CODE16	; 		
;		PUBLIC	Ram_THUMB_mips
;Ram_THUMB_mips:
;                MIPS
;		ENDMOD
;

	END

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -