gplink-2.1.3 (Mar 12 2018)
Listing File Generated: 2018-5-14  10:58:41
 
 
Address  Value    Disassembly              Source
-------  -----    -----------              ------
                                           #include "mc32p7311.inc"
                                           		LIST
                                           ;mc32p7311.inc    Standard Header File, Version 1.00 by Sinomcu
                                           		NOLIST
                                           
                                                   org     0x00
000000   a001     goto    0x1                      goto    start
                                               
                                                   
                                           start:      
000001   3cff     movai   0xff                     movai      0xff;P1output
000002   5795     movra   0x195                    movra      OEP1        
000003   3cef     movai   0xef                     movai      0xef;P0output
000004   5791     movra   0x191                    movra      OEP0
000005   3cff     movai   0xff                     movai      0xff;P1口数据全1
000006   5794     movra   0x194                    movra      IOP1
000007   3c01     movai   0x1                      movai       0x01
000008   5788     movra   0x188                    movra       MCR         ;外部中断0 下降沿中断
000009   3c00     movai   0                        movai       0x00
00000a   57ac     movra   0x1ac                    movra       PWMCR0
00000b   3c90     movai   0x90                     movai       0x90
00000c   57b1     movra   0x1b1                    movra       ADCR1      ;AD采样频率FHIRC/32=1MHz  ,内部参考2V                
00000d   3c09     movai   0x9                      movai       0x09
00000e   57b0     movra   0x1b0                    movra       ADCR0 ;测内参2V时要开AD              
                                                   
00000f   cf98     bset    0x198, 0x7               bset      TC0EN
000010   cd98     bset    0x198, 0x6               bset      PWM0OE
                                                   
000011   cfac     bset    0x1ac, 0x7               bset      PWMCR0,7   ; 允许PWM1 翻转输出到PWM0 故PWM0无需设置
                                                   
000012   cf9c     bset    0x19c, 0x7               bset      TC1EN
000013   cd9c     bset    0x19c, 0x6               bset      PWM1OE
000014   3c95     movai   0x95                     movai     0x95
000015   578c     movra   0x18c                    movra     DRVCR   ;增强驱动能力选择                        
                                                   
                                           LOOP:         
000016   7390     comr    0x190                     COMR   IOP0      ;测试32M 时，io翻转频率1M 即为准确值
000017   0000     nop                               NOP
000018   a016     goto    0x16                      GOTO   LOOP     
                                                    
                                                    END


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

0000 : XXXXXXXXXXXXXXXX XXXXXXXXXXXXXXXX XXXXXXXXXXXXXXXX XX--------------

All other memory blocks unused.

Program Memory Words Used:    25

