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

📄 测试.s

📁 ISD1720芯片实现录音,定点录音,播放,定点播放等.
💻 S
📖 第 1 页 / 共 5 页
字号:
	.byte 55,'w
	.byte 0,0
	.byte 0,0
	.byte 0,1
	.byte 128,0
	.byte 0,0
	.byte 0,0
	.byte 0,0
	.byte 55,'w
	.byte 0,0
	.byte 0,0
	.byte 0,1
	.byte 128,0
	.byte 0,0
	.byte 0,0
	.byte 0,0
	.byte 31,255
	.byte 255,255
	.byte 255,255
	.byte 255,255
	.byte 0,0
	.byte 0,0
	.byte 0,0
	.byte 0,0
	.byte 0,0
	.byte 0,0
	.byte 0,0
	.byte 0,0
	.byte 0,0
	.byte 0,0
	.byte 0,0
	.byte 0,0
	.byte 48,'w
	.byte 'p,0
	.byte 0,0
	.byte 0,1
	.byte 128,0
	.byte 0,0
	.byte 0,0
	.byte 0,0
	.byte 48,'w
	.byte 'p,0
	.byte 0,0
	.byte 0,1
	.byte 128,0
	.byte 0,0
	.byte 0,0
	.byte 0,0
	.byte 48,'w
	.byte 'p,0
	.byte 0,0
	.byte 0,1
	.byte 128,0
	.byte 0,0
	.byte 0,0
	.byte 0,0
	.byte 48,7
	.byte 'w,0
	.byte 0,0
	.byte 0,1
	.byte 128,0
	.byte 0,0
	.byte 0,0
	.byte 0,0
	.byte 48,7
	.byte 'w,0
	.byte 0,0
	.byte 0,1
	.byte 128,0
	.byte 0,0
	.byte 0,0
	.byte 0,0
	.byte 48,7
	.byte 'w,0
	.byte 0,0
	.byte 0,1
	.byte 128,0
	.byte 0,0
	.byte 0,0
	.byte 0,0
	.byte 48,0
	.byte 'w,'p
	.byte 0,0
	.byte 0,1
	.byte 128,0
	.byte 0,0
	.byte 0,0
	.byte 0,0
	.byte 48,0
	.byte 'w,'p
	.byte 0,0
	.byte 0,1
	.byte 128,0
	.byte 0,0
	.byte 0,0
	.byte 0,0
	.byte 48,0
	.byte 'w,'p
	.byte 0,0
	.byte 0,1
	.byte 128,0
	.byte 0,0
	.byte 0,0
	.byte 0,0
	.byte 48,0
	.byte 7,'w
	.byte 0,0
	.byte 0,1
	.byte 128,0
	.byte 0,0
	.byte 0,0
	.byte 0,0
	.byte 48,0
	.byte 7,'w
	.byte 0,0
	.byte 0,1
	.byte 128,0
	.byte 0,0
	.byte 0,0
	.byte 0,0
	.byte 48,0
	.byte 7,'w
	.byte 0,0
	.byte 0,1
	.byte 128,0
	.byte 0,0
	.byte 0,0
	.byte 0,0
	.byte 48,0
	.byte 0,'w
	.byte 'p,0
	.byte 0,1
	.byte 128,0
	.byte 0,0
	.byte 0,0
	.byte 0,0
	.byte 48,0
	.byte 0,'w
	.byte 'p,0
	.byte 0,1
	.byte 128,0
	.byte 0,0
	.byte 0,0
	.byte 0,0
	.byte 48,0
	.byte 0,'w
	.byte 'p,0
	.byte 0,1
	.byte 128,0
	.byte 0,0
	.byte 0,0
	.byte 0,0
	.byte 48,0
	.byte 0,7
	.byte 'w,0
	.byte 0,1
	.byte 128,0
	.byte 0,0
	.byte 0,0
	.byte 0,0
	.byte 48,0
	.byte 0,7
	.byte 'w,0
	.byte 0,1
	.byte 128,0
	.byte 0,0
	.byte 0,0
	.byte 0,0
	.byte 48,0
	.byte 0,7
	.byte 'w,0
	.byte 0,1
	.byte 128,0
	.byte 0,0
	.byte 0,0
	.byte 0,0
	.byte 48,0
	.byte 0,0
	.byte 'w,'p
	.byte 0,1
	.byte 128,0
	.byte 0,0
	.byte 0,0
	.byte 0,0
	.byte 48,0
	.byte 0,0
	.byte 'w,'p
	.byte 0,1
	.byte 128,0
	.byte 0,0
	.byte 0,0
	.byte 0,0
	.byte 48,0
	.byte 0,0
	.byte 'w,'p
	.byte 0,1
	.byte 128,0
	.byte 0,0
	.byte 0,0
	.byte 0,0
	.byte 48,0
	.byte 0,0
	.byte 7,'w
	.byte 0,1
	.byte 128,0
	.byte 0,0
	.byte 0,0
	.byte 0,0
	.byte 48,0
	.byte 0,0
	.byte 7,'w
	.byte 0,1
	.byte 128,0
	.byte 0,0
	.byte 0,0
	.byte 0,0
	.byte 48,0
	.byte 0,0
	.byte 7,'w
	.byte 0,1
	.byte 128,0
	.byte 0,0
	.byte 0,0
	.byte 0,0
	.byte 48,0
	.byte 0,0
	.byte 0,'w
	.byte 'p,1
	.byte 128,0
	.byte 0,0
	.byte 0,0
	.byte 0,0
	.byte 48,0
	.byte 0,0
	.byte 0,'w
	.byte 'p,1
	.byte 128,0
	.byte 0,0
	.byte 0,0
	.byte 0,0
	.byte 48,0
	.byte 0,0
	.byte 0,'w
	.byte 'p,1
	.byte 128,0
	.byte 0,0
	.byte 0,0
	.byte 0,0
	.byte 48,0
	.byte 0,0
	.byte 0,7
	.byte 'w,1
	.byte 128,0
	.byte 0,0
	.byte 0,0
	.byte 0,0
	.byte 48,0
	.byte 0,0
	.byte 0,7
	.byte 'w,1
	.byte 128,0
	.byte 0,0
	.byte 0,0
	.byte 0,0
	.byte 48,0
	.byte 0,0
	.byte 0,7
	.byte 'w,1
	.byte 128,0
	.byte 0,0
	.byte 0,0
	.byte 0,0
	.byte 48,0
	.byte 0,0
	.byte 0,0
	.byte 'w,'q
	.byte 128,0
	.byte 0,0
	.byte 0,0
	.byte 0,0
	.byte 48,0
	.byte 0,0
	.byte 0,0
	.byte 'w,'q
	.byte 128,0
	.byte 0,0
	.byte 0,0
	.byte 0,0
	.byte 48,0
	.byte 0,0
	.byte 0,0
	.byte 'w,'q
	.byte 128,0
	.byte 0,0
	.dbsym e data00 _data00 A[1552:1552]kc
	.area text(rom, con, rel)
	.dbfile E:\写的程序\AVR(C)\12864显示.c
	.dbfunc e checkbusy _checkbusy fV
	.even
_checkbusy::
	.dbline -1
	.dbline 142
; /*====================================*/
; /*大液晶显示*/
; /*8M晶振*/
; /*包含了测试程序,和到图形显示程序*/
; /*====================================*/
; #include"iom16v.h"
; #include"macros.h"
; #include"延时子程序.c"
; #define uchar unsigned char
; #define uint unsigned int
; 
; #define RS_H DDRC|=(1<<2);PORTC|=(1<<2); 
; #define RS_L DDRC|=(1<<2);PORTC&= ~(1<<2); 
; #define RW_H DDRC|=(1<<3);PORTC|=(1<<3); 
; #define RW_L DDRC|=(1<<3);PORTC&= ~(1<<3);
; #define E_H DDRC|=(1<<4);PORTC|=(1<<4);
; #define E_L DDRC|=(1<<4);PORTC&=~(1<<4);
; //#define DA DDRA;
; //#define PA PORTA;
; //#define PIA PINA;
; 
; //***************************************************
; /*数据区*/
; //***************************************************
; uchar data01[]={"欢迎进入"};
; uchar data02[]={"WELCOME TO ENTER"};
; const uchar data00[]={
; 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
; 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
; 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x07,0x80,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
; 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x0F,0xFF,0x80,0x00,0x00,0x00,0x00,0x00,0x00,
; 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x1F,0xFF,0xE0,0x00,0x00,0x00,0x00,0x00,0x00,
; 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x1F,0xFF,0xE0,0x00,0x00,0x00,0x00,0x00,0x00,
; 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x3F,0xFF,0xE0,0x00,0x00,0x00,0x00,0x00,0x00,
; 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x3F,0xFF,0xE0,0x00,0x00,0x00,0x00,0x00,0x00,
; 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x7F,0xFF,0xC1,0xE0,0x3C,0x00,0x00,0x00,0x00,
; 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x7F,0xFF,0x83,0xFF,0xFC,0x00,0x00,0x00,0x00,
; 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x7F,0xFF,0x83,0xFF,0xF8,0x00,0x00,0x00,0x00,
; 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0xFF,0xFF,0x87,0xFF,0xF8,0x00,0x00,0x00,0x00,
; 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0xFF,0xFF,0x07,0xFF,0xF8,0x00,0x00,0x00,0x00,
; 0x00,0x00,0x00,0x00,0x00,0x00,0x01,0xFF,0xFF,0x0F,0xFF,0xF0,0x00,0x00,0x00,0x00,
; 0x00,0x00,0x00,0x00,0x00,0x00,0x01,0xFF,0xFE,0x0F,0xFF,0xF0,0x00,0x00,0x00,0x00,
; 0x00,0x00,0x00,0x00,0x00,0x00,0x03,0xFF,0xFE,0x0F,0xFF,0xF0,0x00,0x00,0x00,0x00,
; 0x00,0x00,0x00,0x00,0x00,0x00,0x03,0xFF,0xFE,0x1F,0xFF,0xE0,0x00,0x00,0x00,0x00,
; 0x00,0x00,0x00,0x00,0x00,0x00,0x03,0x60,0xFE,0x1F,0xFF,0xE0,0x00,0x00,0x00,0x00,
; 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x06,0x0E,0x3F,0xFF,0xC0,0x00,0x00,0x00,0x00,
; 0x00,0x00,0x00,0x00,0x00,0x00,0x07,0xFF,0xE0,0x3F,0xFF,0xC0,0x00,0x00,0x00,0x00,
; 0x00,0x00,0x00,0x00,0x00,0x00,0x07,0xFF,0xF8,0x7F,0xFF,0xC0,0x00,0x00,0x00,0x00,
; 0x00,0x00,0x00,0x00,0x00,0x00,0x07,0xFF,0xF8,0x1F,0xFF,0xC0,0x00,0x00,0x00,0x00,
; 0x00,0x00,0x00,0x00,0x00,0x00,0x0F,0xFF,0xFC,0x60,0xFE,0x00,0x00,0x00,0x00,0x00,
; 0x00,0x00,0x00,0x00,0x00,0x00,0x0F,0xFF,0xF8,0x78,0x00,0x00,0x00,0x00,0x00,0x00,
; 0x00,0x00,0x00,0x00,0x00,0x00,0x0F,0xFF,0xF8,0xFF,0xFF,0x80,0x00,0x00,0x00,0x00,
; 0x00,0x00,0x00,0x00,0x00,0x00,0x0F,0xFF,0xF0,0xFF,0xFF,0x80,0x00,0x00,0x00,0x00,
; 0x00,0x00,0x00,0x00,0x00,0x00,0x1F,0xFF,0xE0,0xFF,0xFF,0x80,0x00,0x00,0x00,0x00,
; 0x00,0x00,0x00,0x00,0x00,0x00,0x1F,0xFF,0xE1,0xFF,0xFF,0x00,0x00,0x00,0x00,0x00,
; 0x00,0x00,0x00,0x00,0x00,0x00,0x1F,0xFF,0xE1,0xFF,0xFF,0x00,0x00,0x00,0x00,0x00,
; 0x00,0x00,0x00,0x00,0x00,0x00,0x3F,0xFF,0xC3,0xFF,0xFF,0x00,0x00,0x00,0x00,0x00,
; 0x00,0x00,0x00,0x00,0x00,0x00,0x7F,0xFF,0xC1,0xFF,0xFF,0x00,0x00,0x00,0x00,0x00,
; 0x00,0x00,0x00,0x00,0x00,0x00,0x7F,0xFF,0xC3,0xFF,0xFE,0x00,0x00,0x00,0x00,0x00,
; 0x00,0x00,0x00,0x00,0x00,0x00,0x7F,0xF1,0x83,0xFF,0xFE,0x00,0x00,0x00,0x00,0x00,
; 0x00,0x00,0x1E,0x00,0x00,0x00,0x76,0x00,0x07,0xFF,0xFE,0x00,0x00,0x00,0x00,0x00,
; 0x00,0x00,0x1E,0x0E,0x07,0x00,0x00,0x00,0x0F,0xFF,0xFC,0x00,0x00,0x00,0x00,0x00,
; 0x00,0x00,0x1E,0x0E,0x0F,0x00,0x00,0x00,0x0F,0xFF,0xFC,0x00,0x00,0x00,0x00,0x00,
; 0x00,0x00,0x0F,0x0E,0x0F,0x00,0x00,0x00,0x07,0xFF,0xFC,0x00,0x00,0x00,0x00,0x00,
; 0x00,0x00,0x0F,0x0E,0x1E,0x00,0x00,0x00,0x00,0xFF,0xF8,0x00,0x00,0x00,0x00,0x00,
; 0x00,0x00,0x0F,0x1F,0x1C,0x00,0x00,0x00,0x00,0x3F,0xC0,0x00,0x00,0x00,0x00,0x00,
; 0x00,0x00,0x0F,0x1F,0x1C,0x00,0x00,0x70,0x00,0x00,0x00,0x0C,0x6E,0x00,0x00,0x00,
; 0x00,0x00,0x0F,0x1F,0x1C,0x00,0x00,0x70,0x00,0x00,0x00,0x0C,0x6F,0x80,0x00,0x00,
; 0x00,0x00,0x0F,0x1F,0x3B,0x80,0x00,0x70,0x00,0x00,0x00,0x07,0xCF,0xC0,0x00,0x00,
; 0x00,0x00,0x07,0x1F,0x3B,0xB3,0x07,0x70,0xE3,0x1C,0x67,0x83,0x8C,0xC0,0x00,0x00,
; 0x00,0x00,0x07,0x1F,0x3B,0xBF,0xCF,0xF3,0xFB,0x9C,0xFF,0xC3,0x0C,0xC0,0x00,0x00,
; 0x00,0x00,0x07,0x9F,0x70,0x3F,0xDF,0xF7,0xFB,0x9E,0xFF,0xE7,0x8C,0xC0,0x00,0x00,
; 0x00,0x00,0x07,0xBF,0x73,0xBD,0xDF,0xF7,0xBB,0xBE,0xF8,0xEF,0xCF,0xC0,0x00,0x00,
; 0x00,0x00,0x03,0xB7,0xF3,0xB9,0xDC,0x77,0x1D,0xFE,0xDF,0x0C,0xCF,0x80,0x00,0x00,
; 0x00,0x00,0x03,0xF7,0xF3,0xB9,0xDC,0x7F,0x1D,0xFF,0xDF,0xE0,0x0C,0x00,0x00,0x00,
; 0x00,0x00,0x03,0xF3,0xF3,0xB9,0xDC,0x7F,0x1C,0xF7,0xCF,0xE0,0x0C,0x00,0x00,0x00,
; 0x00,0x00,0x01,0xF3,0xE3,0xB9,0xDC,0x77,0xBC,0xF7,0x81,0xE0,0x00,0x00,0x00,0x00,
; 0x00,0x00,0x01,0xF3,0xE3,0xB9,0xDF,0xF7,0xF8,0xF7,0xBC,0xE0,0x00,0x00,0x00,0x00,
; 0x00,0x00,0x01,0xE3,0xE3,0xB9,0xDF,0xF7,0xF8,0xF7,0x3F,0xE0,0x00,0x00,0x00,0x00,
; 0x00,0x00,0x01,0xE1,0xC3,0xB9,0xEF,0xF1,0xF0,0xE3,0x0F,0xC0,0x00,0x00,0x00,0x00,
; 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
; 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
; 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
; 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
; 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
; 0x00,0x00,0x00,0x00,0x1F,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0x00,0x00,0x00,0x00,
; 0x00,0x00,0x00,0x00,0x37,0x77,0x00,0x00,0x00,0x00,0x00,0x01,0x80,0x00,0x00,0x00,
; 0x00,0x00,0x00,0x00,0x37,0x77,0x00,0x00,0x00,0x00,0x00,0x01,0x80,0x00,0x00,0x00,
; 0x00,0x00,0x00,0x00,0x37,0x77,0x00,0x00,0x00,0x00,0x00,0x01,0x80,0x00,0x00,0x00,
; 0x00,0x00,0x00,0x00,0x1F,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0x00,0x00,0x00,0x00,
; 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
; 
; 0x00,0x00,0x00,0x00,0x30,0x77,0x70,0x00,0x00,0x00,0x00,0x01,0x80,0x00,0x00,0x00,
; 0x00,0x00,0x00,0x00,0x30,0x77,0x70,0x00,0x00,0x00,0x00,0x01,0x80,0x00,0x00,0x00,
; 0x00,0x00,0x00,0x00,0x30,0x77,0x70,0x00,0x00,0x00,0x00,0x01,0x80,0x00,0x00,0x00,
; 
; 0x00,0x00,0x00,0x00,0x30,0x07,0x77,0x00,0x00,0x00,0x00,0x01,0x80,0x00,0x00,0x00,
; 0x00,0x00,0x00,0x00,0x30,0x07,0x77,0x00,0x00,0x00,0x00,0x01,0x80,0x00,0x00,0x00,
; 0x00,0x00,0x00,0x00,0x30,0x07,0x77,0x00,0x00,0x00,0x00,0x01,0x80,0x00,0x00,0x00,
; 
; 0x00,0x00,0x00,0x00,0x30,0x00,0x77,0x70,0x00,0x00,0x00,0x01,0x80,0x00,0x00,0x00,
; 0x00,0x00,0x00,0x00,0x30,0x00,0x77,0x70,0x00,0x00,0x00,0x01,0x80,0x00,0x00,0x00,
; 0x00,0x00,0x00,0x00,0x30,0x00,0x77,0x70,0x00,0x00,0x00,0x01,0x80,0x00,0x00,0x00,
; 
; 0x00,0x00,0x00,0x00,0x30,0x00,0x07,0x77,0x00,0x00,0x00,0x01,0x80,0x00,0x00,0x00,
; 0x00,0x00,0x00,0x00,0x30,0x00,0x07,0x77,0x00,0x00,0x00,0x01,0x80,0x00,0x00,0x00,
; 0x00,0x00,0x00,0x00,0x30,0x00,0x07,0x77,0x00,0x00,0x00,0x01,0x80,0x00,0x00,0x00,
; 
; 0x00,0x00,0x00,0x00,0x30,0x00,0x00,0x77,0x70,0x00,0x00,0x01,0x80,0x00,0x00,0x00,
; 0x00,0x00,0x00,0x00,0x30,0x00,0x00,0x77,0x70,0x00,0x00,0x01,0x80,0x00,0x00,0x00,
; 0x00,0x00,0x00,0x00,0x30,0x00,0x00,0x77,0x70,0x00,0x00,0x01,0x80,0x00,0x00,0x00,
; 
; 0x00,0x00,0x00,0x00,0x30,0x00,0x00,0x07,0x77,0x00,0x00,0x01,0x80,0x00,0x00,0x00,
; 0x00,0x00,0x00,0x00,0x30,0x00,0x00,0x07,0x77,0x00,0x00,0x01,0x80,0x00,0x00,0x00,
; 0x00,0x00,0x00,0x00,0x30,0x00,0x00,0x07,0x77,0x00,0x00,0x01,0x80,0x00,0x00,0x00,
; 
; 0x00,0x00,0x00,0x00,0x30,0x00,0x00,0x00,0x77,0x70,0x00,0x01,0x80,0x00,0x00,0x00,
; 0x00,0x00,0x00,0x00,0x30,0x00,0x00,0x00,0x77,0x70,0x00,0x01,0x80,0x00,0x00,0x00,
; 0x00,0x00,0x00,0x00,0x30,0x00,0x00,0x00,0x77,0x70,0x00,0x01,0x80,0x00,0x00,0x00,
; 
; 0x00,0x00,0x00,0x00,0x30,0x00,0x00,0x00,0x07,0x77,0x00,0x01,0x80,0x00,0x00,0x00,
; 0x00,0x00,0x00,0x00,0x30,0x00,0x00,0x00,0x07,0x77,0x00,0x01,0x80,0x00,0x00,0x00,
; 0x00,0x00,0x00,0x00,0x30,0x00,0x00,0x00,0x07,0x77,0x00,0x01,0x80,0x00,0x00,0x00,
; 
; 0x00,0x00,0x00,0x00,0x30,0x00,0x00,0x00,0x00,0x77,0x70,0x01,0x80,0x00,0x00,0x00,
; 0x00,0x00,0x00,0x00,0x30,0x00,0x00,0x00,0x00,0x77,0x70,0x01,0x80,0x00,0x00,0x00,
; 0x00,0x00,0x00,0x00,0x30,0x00,0x00,0x00,0x00,0x77,0x70,0x01,0x80,0x00,0x00,0x00,
; 
; 0x00,0x00,0x00,0x00,0x30,0x00,0x00,0x00,0x00,0x07,0x77,0x01,0x80,0x00,0x00,0x00,
; 0x00,0x00,0x00,0x00,0x30,0x00,0x00,0x00,0x00,0x07,0x77,0x01,0x80,0x00,0x00,0x00,
; 0x00,0x00,0x00,0x00,0x30,0x00,0x00,0x00,0x00,0x07,0x77,0x01,0x80,0x00,0x00,0x00,
; 
; 0x00,0x00,0x00,0x00,0x30,0x00,0x00,0x00,0x00,0x00,0x77,0x71,0x80,0x00,0x00,0x00,
; 0x00,0x00,0x00,0x00,0x30,0x00,0x00,0x00,0x00,0x00,0x77,0x71,0x80,0x00,0x00,0x00,
; 0x00,0x00,0x00,0x00,0x30,0x00,0x00,0x00,0x00,0x00,0x77,0x71,0x80,0x00,0x00,0x00
; };
; 
; //***************************************************
; /*查忙状态*/
; //***************************************************
; void checkbusy()
; {
	.dbline 143
;  DDRA=0x00;
	clr R2
	out 0x1a,R2
	.dbline 144
;  PORTA=0xff;
	ldi R24,255
	out 0x1b,R24
	.dbline 145
;  RS_L;
	sbi 0x14,2
	.dbline 145
	cbi 0x15,2
	.dbline 145
	.dbline 146
;  delay_us(5);
	ldi R16,5
	ldi R17,0
	xcall _delay_us
	.dbline 147
;  RW_H;
	sbi 0x14,3
	.dbline 147
	sbi 0x15,3
	.dbline 147
	.dbline 148
;  delay_us(5);
	ldi R16,5
	ldi R17,0
	xcall _delay_us
	.dbline 149
;  E_H;
	sbi 0x14,4
	.dbline 149
	sbi 0x15,4
	.dbline 149
L25:
	.dbline 150
;  while(PINA&0X80);
L26:
	.dbline 150
	sbic 0x19,7
	rjmp L25
X5:
	.dbline 151
;  E_L;
	sbi 0x14,4
	.dbline 151
	cbi 0x15,4
	.dbline 151
	.dbline -2
L24:
	.dbline 0 ; func end
	ret
	.dbend
	.dbfunc e writecomd _writecomd fV
;           comd -> R10
	.even
_writecomd::
	st -y,R10
	mov R10,R16
	.dbline -1
	.dbline 157
; }
; //***************************************************
; /*写指令*/
; //***************************************************
; void writecomd(uchar comd)
; {
	.dbline 158
;  checkbusy();
	xcall _checkbusy
	.dbline 159
;  RS_L;
	sbi 0x14,2
	.dbline 159
	cbi 0x15,2
	.dbline 159
	.dbline 160
;  RW_L;
	sbi 0x14,3
	.dbline 160
	cbi 0x15,3
	.dbline 160
	.dbline 161
;  E_H;
	sbi 0x14,4
	.dbline 161
	sbi 0x15,4
	.dbline 161
	.dbline 162
;  DDRA=0XFF;
	ldi R24,255
	out 0x1a,R24
	.dbline 163
;  PORTA=comd;
	out 0x1b,R10
	.dbline 164
;  delay_us(5);
	ldi R16,5
	ldi R17,0
	xcall _delay_us
	.dbline 165
;  E_L;
	sbi 0x14,4
	.dbline 165
	cbi 0x15,4
	.dbline 165
	.dbline -2
L28:
	.dbline 0 ; func end
	ld R10,y+
	ret
	.dbsym r comd 10 c
	.dbend
	.dbfunc e writedata _writedata fV
;           data -> R10
	.even
_writedata::
	st -y,R10
	mov R10,R16
	.dbline -1
	.dbline 171
; } 
; //****************************************************
; /*写数据*/
; //****************************************************
; void writedata(uchar data)
; {
	.dbline 172
;  checkbusy();
	xcall _checkbusy
	.dbline 173
;  RS_H;
	sbi 0x14,2
	.dbline 173
	sbi 0x15,2
	.dbline 173
	.dbline 174
;  RW_L;
	sbi 0x14,3
	.dbline 174
	cbi 0x15,3
	.dbline 174
	.dbline 175
;  E_H;
	sbi 0x14,4
	.dbline 175
	sbi 0x15,4
	.dbline 175
	.dbline 176
;  DDRA=0XFF;
	ldi R24,255
	out 0x1a,R24
	.dbline 177
;  PORTA=data;
	out 0x1b,R10
	.dbline 178
;  delay_us(5);
	ldi R16,5
	ldi R17,0
	xcall _delay_us
	.dbline 179
;  E_L;
	sbi 0x14,4
	.dbline 179
	cbi 0x15,4
	.dbline 179
	.dbline -2
L29:
	.dbline 0 ; func end
	ld R10,y+
	ret
	.dbsym r data 10 c
	.dbend
	.dbfunc e wezhi _wezhi fV
;              p -> R20
;              y -> R10
;              x -> R22
	.even
_wezhi::
	xcall push_xgsetF00C
	mov R10,R18
	mov R22,R16
	.dbline -1
	.dbline 185
; }
; //****************************************************
; /*写入显示内部带字库型的字体的位置*/
; //****************************************************
; void wezhi(uchar x,uchar y)//x为在哪一行,y是在哪一列
; {
	.dbline 187
;  uchar p;
;  if(x==0) p=0x80;//第一行
	tst R22
	brne L31
X6:
	.dbline 187
	ldi R20,128
L31:
	.dbline 188
;  if(x==1) p=0x90;//第二行
	cpi R22,1
	brne L33
X7:
	.dbline 188
	ldi R20,144
L33:
	.dbline 189
;  if(x==2) p=0x88;//第三行
	cpi R22,2
	brne L35
X8:
	.dbline 189
	ldi R20,136
L35:
	.dbline 190
;  if(x==3) p=0x98;//第四行
	cpi R22,3
	brne L37
X9:
	.dbline 190
	ldi R20,152
L37:
	.dbline 191

⌨️ 快捷键说明

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