📄 main.s
字号:
.module Main.C
.area text(rom, con, rel)
.dbfile F:\Temp\KS0108_12864LCD\Source\Main.C
.dbfunc e main _main fV
.even
_main::
.dbline -1
.dbline 30
; /*----------------------------------------------------------------------------*-
;
; Source Name : Main.C (v1.00)
;
; ----------------------------------------------------------------------------
; COPYRIGHT
; ---------
;
; Created Date : 2008.03.01
; Created By : HOCHIEN
; Modified By :
; Modified Date :
; Version : 2.0
; Description : Main project source files.
; See "Main.H" for more details about this project.
;
; * * * This program is from : www.ICEworksop.com * * *
;
; -*----------------------------------------------------------------------------*/
;
; #include "Main.H"
; #include "Init_SYS.H"
;
; #include "KS0108_12864LCD.H"
;
; /* -------------------------------------------------------------------------- */
; /* .......................................................................... */
;
; void main(void)
; {
.dbline 35
;
; // ==== Initialization - BEGIN ============================================
;
; // Global system initialization
; Init_System();
xcall _Init_System
.dbline 38
;
; // Prepare for the KS0108 128 * 64 pixels Liquid Crystal Display(LCD)
; KS0108_12864LCD_Init();
xcall _KS0108_12864LCD_Init
xjmp L3
L2:
.dbline 43
;
; // ==== Initialization - END ==============================================
;
; while(1) // Super Loop "Endless loop"
; {
.dbline 44
; KS0108_12864LCD_Update();
xcall _KS0108_12864LCD_Update
.dbline 45
; }
L3:
.dbline 42
xjmp L2
X0:
.dbline -2
L1:
.dbline 0 ; func end
ret
.dbend
; }
;
; /*----------------------------------------------------------------------------*-
; ---- END OF FILE -----------------------------------------------------------
; -*----------------------------------------------------------------------------*/
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -