gplink-2.1.3 (Mar 12 2018)
Listing File Generated: 2018-5-14  11:00:17
 
 
Address  Value    Disassembly              Source
-------  -----    -----------              ------
                                           ;--------------------------------------------------------
                                           ; File Created by SN-SDCC : SinoMCU ANSI-C Compiler
                                           ; Version 1.1.2 (May  8 2018) (MINGW32)
                                           ; This file was generated Mon May 14 11:00:17 2018
                                           ;--------------------------------------------------------
                                           ; MC30 port for the RISC core
                                           ;--------------------------------------------------------
                                           ;	.file	"main.c"
                                           	list	p=6060
                                           	radix dec
                                           	include "6060.inc"
                                           		LIST
                                           ;mc30p6080.inc    Standard Header File, Version 1.00 by Sinomcu
                                           		NOLIST
                                           ;--------------------------------------------------------
                                           ; external declarations
                                           ;--------------------------------------------------------
                                           	extern	_INDFbits
                                           	extern	_T0CNTbits
                                           	extern	_PCLbits
                                           	extern	_STATUSbits
                                           	extern	_FSRbits
                                           	extern	_P0bits
                                           	extern	_P1bits
                                           	extern	_MCRbits
                                           	extern	_KBIMbits
                                           	extern	_PCLATHbits
                                           	extern	_PDCONbits
                                           	extern	_ODCONbits
                                           	extern	_PUCONbits
                                           	extern	_INTECONbits
                                           	extern	_INTFLAGbits
                                           	extern	_T0CRbits
                                           	extern	_DDR0bits
                                           	extern	_DDR1bits
                                           	extern	_PWMCRbits
                                           	extern	_T1DAT1bits
                                           	extern	_T1DAT2bits
                                           	extern	_TM0CRbits
                                           	extern	_T1CRbits
                                           	extern	_T1CNTbits
                                           	extern	_T1LOADbits
                                           	extern	_T1DAT0bits
                                           	extern	_INDF
                                           	extern	_T0CNT
                                           	extern	_PCL
                                           	extern	_STATUS
                                           	extern	_FSR
                                           	extern	_P0
                                           	extern	_P1
                                           	extern	_MCR
                                           	extern	_KBIM
                                           	extern	_PCLATH
                                           	extern	_PDCON
                                           	extern	_ODCON
                                           	extern	_PUCON
                                           	extern	_INTECON
                                           	extern	_INTFLAG
                                           	extern	_T0CR
                                           	extern	_DDR0
                                           	extern	_DDR1
                                           	extern	_PWMCR
                                           	extern	_T1DAT1
                                           	extern	_T1DAT2
                                           	extern	_TM0CR
                                           	extern	_T1CR
                                           	extern	_T1CNT
                                           	extern	_T1LOAD
                                           	extern	_T1DAT0
                                           ;--------------------------------------------------------
                                           ; global declarations
                                           ;--------------------------------------------------------
                                           	global	_main
                                           
                                           	global STK06
                                           	global STK05
                                           	global STK04
                                           	global STK03
                                           	global STK02
                                           	global STK01
                                           	global STK00
                                           
                                           sharebank udata_ovr 0x0010
                                           STK06	res 1
                                           STK05	res 1
                                           STK04	res 1
                                           STK03	res 1
                                           STK02	res 1
                                           STK01	res 1
                                           STK00	res 1
                                           
                                           ;--------------------------------------------------------
                                           ; global definitions
                                           ;--------------------------------------------------------
                                           ;--------------------------------------------------------
                                           ; absolute symbol definitions
                                           ;--------------------------------------------------------
                                           ;--------------------------------------------------------
                                           ; compiler-defined variables
                                           ;--------------------------------------------------------
                                           ;--------------------------------------------------------
                                           ; initialized data
                                           ;--------------------------------------------------------
                                           
                                           ;@Allocation info for local variables in function 'main'
                                           ;@main main                      Allocated to registers ;size:2
                                           ;@main INDFbits                  Allocated to registers ;size:1
                                           ;@main T0CNTbits                 Allocated to registers ;size:1
                                           ;@main PCLbits                   Allocated to registers ;size:1
                                           ;@main STATUSbits                Allocated to registers ;size:1
                                           ;@main FSRbits                   Allocated to registers ;size:1
                                           ;@main P0bits                    Allocated to registers ;size:1
                                           ;@main P1bits                    Allocated to registers ;size:1
                                           ;@main MCRbits                   Allocated to registers ;size:1
                                           ;@main KBIMbits                  Allocated to registers ;size:1
                                           ;@main PCLATHbits                Allocated to registers ;size:1
                                           ;@main PDCONbits                 Allocated to registers ;size:1
                                           ;@main ODCONbits                 Allocated to registers ;size:1
                                           ;@main PUCONbits                 Allocated to registers ;size:1
                                           ;@main INTECONbits               Allocated to registers ;size:1
                                           ;@main INTFLAGbits               Allocated to registers ;size:1
                                           ;@main T0CRbits                  Allocated to registers ;size:1
                                           ;@main DDR0bits                  Allocated to registers ;size:1
                                           ;@main DDR1bits                  Allocated to registers ;size:1
                                           ;@main PWMCRbits                 Allocated to registers ;size:1
                                           ;@main T1DAT1bits                Allocated to registers ;size:1
                                           ;@main T1DAT2bits                Allocated to registers ;size:1
                                           ;@main TM0CRbits                 Allocated to registers ;size:1
                                           ;@main T1CRbits                  Allocated to registers ;size:1
                                           ;@main T1CNTbits                 Allocated to registers ;size:1
                                           ;@main T1LOADbits                Allocated to registers ;size:1
                                           ;@main T1DAT0bits                Allocated to registers ;size:1
                                           ;@main INDF                      Allocated to registers ;size:1
                                           ;@main T0CNT                     Allocated to registers ;size:1
                                           ;@main PCL                       Allocated to registers ;size:1
                                           ;@main STATUS                    Allocated to registers ;size:1
                                           ;@main FSR                       Allocated to registers ;size:1
                                           ;@main P0                        Allocated to registers ;size:1
                                           ;@main P1                        Allocated to registers ;size:1
                                           ;@main MCR                       Allocated to registers ;size:1
                                           ;@main KBIM                      Allocated to registers ;size:1
                                           ;@main PCLATH                    Allocated to registers ;size:1
                                           ;@main PDCON                     Allocated to registers ;size:1
                                           ;@main ODCON                     Allocated to registers ;size:1
                                           ;@main PUCON                     Allocated to registers ;size:1
                                           ;@main INTECON                   Allocated to registers ;size:1
                                           ;@main INTFLAG                   Allocated to registers ;size:1
                                           ;@main T0CR                      Allocated to registers ;size:1
                                           ;@main DDR0                      Allocated to registers ;size:1
                                           ;@main DDR1                      Allocated to registers ;size:1
                                           ;@main PWMCR                     Allocated to registers ;size:1
                                           ;@main T1DAT1                    Allocated to registers ;size:1
                                           ;@main T1DAT2                    Allocated to registers ;size:1
                                           ;@main TM0CR                     Allocated to registers ;size:1
                                           ;@main T1CR                      Allocated to registers ;size:1
                                           ;@main T1CNT                     Allocated to registers ;size:1
                                           ;@main T1LOAD                    Allocated to registers ;size:1
                                           ;@main T1DAT0                    Allocated to registers ;size:1
                                           ;@end Allocation info for local variables in function 'main';
                                           
                                           ;--------------------------------------------------------
                                           ; overlayable items in internal ram 
                                           ;--------------------------------------------------------
                                           ;	udata_ovr
                                           ;--------------------------------------------------------
                                           ; reset vector 
                                           ;--------------------------------------------------------
                                           STARTUP	code 0x0000
000000   2801     goto    0x1              	goto	_main
                                           ;--------------------------------------------------------
                                           ; code
                                           ;--------------------------------------------------------
                                           code_main	code
                                           ;***
                                           ;  pBlock Stats: dbName = M
                                           ;***
                                           ;entry:  _main	;Function start
                                           ; 2 exit points
                                           ;has an exit
                                           ;; Starting pCode block
                                           _main	;Function start
                                           ; 2 exit points
                                           ;	.line	5; "main.c"	P0=0XFF;
000001   0bff     movai   0xff             	MOVAI	0xff
000002   1585     movra   0x5              	MOVRA	_P0
                                           ;	.line	6; "main.c"	P1=0XFF;
000003   0bff     movai   0xff             	MOVAI	0xff
000004   1586     movra   0x6              	MOVRA	_P1
                                           ;	.line	7; "main.c"	DDR0=0XFF;
000005   0bff     movai   0xff             	MOVAI	0xff
000006   15c5     movra   0x45             	MOVRA	_DDR0
                                           ;	.line	8; "main.c"	DDR1=0XFF;
000007   0bff     movai   0xff             	MOVAI	0xff
000008   15c6     movra   0x46             	MOVRA	_DDR1
                                           _00106_DS_
                                           ;	.line	12; "main.c"	P0=~P0;  
000009   1c05     comar   0x5              	COMAR	_P0
00000a   1585     movra   0x5              	MOVRA	_P0
00000b   2809     goto    0x9              	GOTO	_00106_DS_
00000c   000c     return                   	RETURN	
                                           ; exit point of _main
                                           
                                           
                                           ;	code size estimation:
                                           ;	   12+    0 =    12 instructions (   24 byte)
                                           
                                           	end


MEMORY USAGE MAP ('X' = Used,  '-' = Unused)

0000 : XXXXXXXXXXXXXXXX XXXXXXXXXX------ ---------------- ----------------

All other memory blocks unused.

Program Memory Words Used:    13

