gplink-2.1.3 (Mar 12 2018)
Listing File Generated: 2018-5-14  10:59:24
 
 
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 10:59:24 2018
                                           ;--------------------------------------------------------
                                           ; MC32 port for the RISC core
                                           ;--------------------------------------------------------
                                           ;	.file	"main.c"
                                           	list	p=3221
                                           	radix dec
                                           	include "3221.inc"
                                           		LIST
                                           ;mc32p21.inc    Standard Header File, Version 1.00 by Sinomcu
                                           		NOLIST
                                           ;--------------------------------------------------------
                                           ; external declarations
                                           ;--------------------------------------------------------
                                           	extern	_INDF0bits
                                           	extern	_INDF1bits
                                           	extern	_INDF2bits
                                           	extern	_HIBYTEbits
                                           	extern	_FSR0bits
                                           	extern	_FSR1bits
                                           	extern	_PCLbits
                                           	extern	_PFLAGbits
                                           	extern	_MCRbits
                                           	extern	_INDF3bits
                                           	extern	_INTEbits
                                           	extern	_INTFbits
                                           	extern	_IOP0bits
                                           	extern	_OEP0bits
                                           	extern	_PUP0bits
                                           	extern	_ANSELbits
                                           	extern	_IOP1bits
                                           	extern	_OEP1bits
                                           	extern	_PUP1bits
                                           	extern	_KBCRbits
                                           	extern	_T0CRbits
                                           	extern	_T0CNTbits
                                           	extern	_T0LOADbits
                                           	extern	_T0DATAbits
                                           	extern	_T1CRbits
                                           	extern	_T1CNTbits
                                           	extern	_T1LOADbits
                                           	extern	_T1DATAbits
                                           	extern	_OSCMbits
                                           	extern	_LVDCRbits
                                           	extern	_ADCR0bits
                                           	extern	_ADCR1bits
                                           	extern	_ADRHbits
                                           	extern	_ADRLbits
                                           	extern	_OSCCALbits
                                           	extern	_INDF0
                                           	extern	_INDF1
                                           	extern	_INDF2
                                           	extern	_HIBYTE
                                           	extern	_FSR0
                                           	extern	_FSR1
                                           	extern	_PCL
                                           	extern	_PFLAG
                                           	extern	_MCR
                                           	extern	_INDF3
                                           	extern	_INTE
                                           	extern	_INTF
                                           	extern	_IOP0
                                           	extern	_OEP0
                                           	extern	_PUP0
                                           	extern	_ANSEL
                                           	extern	_IOP1
                                           	extern	_OEP1
                                           	extern	_PUP1
                                           	extern	_KBCR
                                           	extern	_T0CR
                                           	extern	_T0CNT
                                           	extern	_T0LOAD
                                           	extern	_T0DATA
                                           	extern	_T1CR
                                           	extern	_T1CNT
                                           	extern	_T1LOAD
                                           	extern	_T1DATA
                                           	extern	_OSCM
                                           	extern	_LVDCR
                                           	extern	_ADCR0
                                           	extern	_ADCR1
                                           	extern	_ADRH
                                           	extern	_ADRL
                                           	extern	_OSCCAL
                                           ;--------------------------------------------------------
                                           ; global declarations
                                           ;--------------------------------------------------------
                                           	global	_main
                                           
                                           	global STK06
                                           	global STK05
                                           	global STK04
                                           	global STK03
                                           	global STK02
                                           	global STK01
                                           	global STK00
                                           
                                           sharebank udata_ovr 0x0000
                                           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 INDF0bits                 Allocated to registers ;size:1
                                           ;@main INDF1bits                 Allocated to registers ;size:1
                                           ;@main INDF2bits                 Allocated to registers ;size:1
                                           ;@main HIBYTEbits                Allocated to registers ;size:1
                                           ;@main FSR0bits                  Allocated to registers ;size:1
                                           ;@main FSR1bits                  Allocated to registers ;size:1
                                           ;@main PCLbits                   Allocated to registers ;size:1
                                           ;@main PFLAGbits                 Allocated to registers ;size:1
                                           ;@main MCRbits                   Allocated to registers ;size:1
                                           ;@main INDF3bits                 Allocated to registers ;size:1
                                           ;@main INTEbits                  Allocated to registers ;size:1
                                           ;@main INTFbits                  Allocated to registers ;size:1
                                           ;@main IOP0bits                  Allocated to registers ;size:1
                                           ;@main OEP0bits                  Allocated to registers ;size:1
                                           ;@main PUP0bits                  Allocated to registers ;size:1
                                           ;@main ANSELbits                 Allocated to registers ;size:1
                                           ;@main IOP1bits                  Allocated to registers ;size:1
                                           ;@main OEP1bits                  Allocated to registers ;size:1
                                           ;@main PUP1bits                  Allocated to registers ;size:1
                                           ;@main KBCRbits                  Allocated to registers ;size:1
                                           ;@main T0CRbits                  Allocated to registers ;size:1
                                           ;@main T0CNTbits                 Allocated to registers ;size:1
                                           ;@main T0LOADbits                Allocated to registers ;size:1
                                           ;@main T0DATAbits                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 T1DATAbits                Allocated to registers ;size:1
                                           ;@main OSCMbits                  Allocated to registers ;size:1
                                           ;@main LVDCRbits                 Allocated to registers ;size:1
                                           ;@main ADCR0bits                 Allocated to registers ;size:1
                                           ;@main ADCR1bits                 Allocated to registers ;size:1
                                           ;@main ADRHbits                  Allocated to registers ;size:1
                                           ;@main ADRLbits                  Allocated to registers ;size:1
                                           ;@main OSCCALbits                Allocated to registers ;size:1
                                           ;@main INDF0                     Allocated to registers ;size:1
                                           ;@main INDF1                     Allocated to registers ;size:1
                                           ;@main INDF2                     Allocated to registers ;size:1
                                           ;@main HIBYTE                    Allocated to registers ;size:1
                                           ;@main FSR0                      Allocated to registers ;size:1
                                           ;@main FSR1                      Allocated to registers ;size:1
                                           ;@main PCL                       Allocated to registers ;size:1
                                           ;@main PFLAG                     Allocated to registers ;size:1
                                           ;@main MCR                       Allocated to registers ;size:1
                                           ;@main INDF3                     Allocated to registers ;size:1
                                           ;@main INTE                      Allocated to registers ;size:1
                                           ;@main INTF                      Allocated to registers ;size:1
                                           ;@main IOP0                      Allocated to registers ;size:1
                                           ;@main OEP0                      Allocated to registers ;size:1
                                           ;@main PUP0                      Allocated to registers ;size:1
                                           ;@main ANSEL                     Allocated to registers ;size:1
                                           ;@main IOP1                      Allocated to registers ;size:1
                                           ;@main OEP1                      Allocated to registers ;size:1
                                           ;@main PUP1                      Allocated to registers ;size:1
                                           ;@main KBCR                      Allocated to registers ;size:1
                                           ;@main T0CR                      Allocated to registers ;size:1
                                           ;@main T0CNT                     Allocated to registers ;size:1
                                           ;@main T0LOAD                    Allocated to registers ;size:1
                                           ;@main T0DATA                    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 T1DATA                    Allocated to registers ;size:1
                                           ;@main OSCM                      Allocated to registers ;size:1
                                           ;@main LVDCR                     Allocated to registers ;size:1
                                           ;@main ADCR0                     Allocated to registers ;size:1
                                           ;@main ADCR1                     Allocated to registers ;size:1
                                           ;@main ADRH                      Allocated to registers ;size:1
                                           ;@main ADRL                      Allocated to registers ;size:1
                                           ;@main OSCCAL                    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   a001     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"	IOP0=0XFF;
000001   3cff     movai   0xff             	MOVAI	0xff
000002   5790     movra   0x190            	MOVRA	_IOP0
                                           ;	.line	6; "main.c"	IOP1=0XFF;
000003   3cff     movai   0xff             	MOVAI	0xff
000004   5794     movra   0x194            	MOVRA	_IOP1
                                           ;	.line	7; "main.c"	OEP0=0XFF;
000005   3cff     movai   0xff             	MOVAI	0xff
000006   5791     movra   0x191            	MOVRA	_OEP0
                                           ;	.line	8; "main.c"	OEP1=0XFF;
000007   3cff     movai   0xff             	MOVAI	0xff
000008   5795     movra   0x195            	MOVRA	_OEP1
                                           _00106_DS_
                                           ;	.line	12; "main.c"	IOP0=~IOP0;  
000009   7190     comar   0x190            	COMAR	_IOP0
00000a   5790     movra   0x190            	MOVRA	_IOP0
00000b   a009     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

