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

📄 main.s

📁 使用iccavr的例子
💻 S
字号:
	.module main.c
	.text
	.dbfile C:\Documents\Software\AVR\lcd16x2\code\main.c
	.area text
	.dbfile C:\Documents\Software\AVR\lcd16x2\code\main.c
	.dbfunc s main _main fI
	.even
_main::
	.dbline 16{
; /* ATmega103 main.c file 
; 
;    Author : Robert Stuart 
;    Company : PDL Industries 
;    Date of Creation : 13 April 2000
;    Tested : Not yet
;  
;    Function : 
;    	Updates the LCD when not servicing interrupts.
; */
; 
; /* include */ 
; #include "main.h"
; 
; int main( void )
; {
	.dbline 17
;   AVRInitialise();			/* initial all ports, registers and parameters */
	call _AVRInitialise
	jmp L3
L2:
	.dbline 20
	.dbline 21
	bclr 7
	.dbline 23
	call _RefreshLCD
	.dbline 25
	bset 7
	.dbline 26
L3:
	.dbline 19
; 
;   while ( TRUE )			/* forever */
	jmp L2
X0:
	.dbline 28
;   {
;     GID;
;     
;     RefreshLCD();			/* update the lcd */
; 
;     GIE;
;   }
; 
;   return 0;
	clr R16
	clr R17
L1:
	ret
	.dbline 29}

⌨️ 快捷键说明

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