51单片机学习的源代码
源代码在线查看: addpro.src
; addpro.SRC generated from: addpro.c
NAME ADDPRO
?PR?main?ADDPRO SEGMENT CODE
EXTRN CODE (?C_STARTUP)
PUBLIC main
; #pragma SRC
; #include "stdio.h"
; main()
RSEG ?PR?main?ADDPRO
main:
USING 0
; SOURCE LINE # 3
; {
; SOURCE LINE # 4
; int i;
; i=20;
; SOURCE LINE # 6
;---- Variable 'i?040' assigned to Register 'R6/R7' ----
; i+=112;
; SOURCE LINE # 7
MOV A,#070H
ADD A,#014H
MOV R7,A
CLR A
RLC A
MOV R6,A
?C0001:
; while(1);
; SOURCE LINE # 8
SJMP ?C0001
; END OF main
END