gplink-2.1.3 (Mar 12 2018)
Listing File Generated: 2018-5-14  10:58:53
 
 
Address  Value    Disassembly              Source
-------  -----    -----------              ------
                                           #include "mc32p7212.inc"
                                           		LIST
                                           ;mc32p7212.inc    Standard Header File, Version 1.00 by Sinomcu
                                           		NOLIST
                                           TIMEOUT1  equ     0x10
                                           TIMEOUT2  equ     0x11
                                           
                                                   org     0x00
000000   a00a     goto    0xa                      goto    start
                                                   org     0x08
                                           inte:   
000008   0000     nop                              NOP 
000009   a008     goto    0x8                      goto    inte   
                                                  
                                           start:  
                                                   ;fill    0x00,0xe8 
                                                   ;call   option
00000a   806f     call    0x6f                     call    io_int
00000b   7394     comr    0x194                    comr    IOP1
00000c   3c01     movai   0x1                      movai   0x01
00000d   57ae     movra   0x1ae                    movra   OSCM     
00000e   8077     call    0x77                     call    LCD_set
00000f   7394     comr    0x194                    comr    IOP1
                                                   
                                           lcd_loop:   
000010   3c0b     movai   0xb                      movai   0x0b;0
000011   57c2     movra   0x1c2                    movra   LCDDS4
000012   3c0f     movai   0xf                      movai   0x0f;0
000013   57c3     movra   0x1c3                    movra   LCDDS5  
000014   7394     comr    0x194                    comr    IOP1       
000015   8080     call    0x80                     call    delay           
000016   8080     call    0x80                     call    delay
000017   8080     call    0x80                     call    delay           
000018   8080     call    0x80                     call    delay 
000019   3c00     movai   0                        movai   0x00;1
00001a   57c2     movra   0x1c2                    movra   LCDDS4
00001b   3c06     movai   0x6                      movai   0x06;1
00001c   57c3     movra   0x1c3                    movra   LCDDS5 
00001d   7394     comr    0x194                    comr    IOP1        
00001e   8080     call    0x80                     call    delay           
00001f   8080     call    0x80                     call    delay
000020   8080     call    0x80                     call    delay           
000021   8080     call    0x80                     call    delay 
000022   3c07     movai   0x7                      movai   0x07;2
000023   57c2     movra   0x1c2                    movra   LCDDS4
000024   3c0c     movai   0xc                      movai   0x0c;2
000025   57c3     movra   0x1c3                    movra   LCDDS5  
000026   7394     comr    0x194                    comr    IOP1       
000027   8080     call    0x80                     call    delay           
000028   8080     call    0x80                     call    delay
000029   8080     call    0x80                     call    delay           
00002a   8080     call    0x80                     call    delay 
00002b   3c05     movai   0x5                      movai   0x05;3
00002c   57c2     movra   0x1c2                    movra   LCDDS4
00002d   3c0e     movai   0xe                      movai   0x0e;3
00002e   57c3     movra   0x1c3                    movra   LCDDS5  
00002f   7394     comr    0x194                    comr    IOP1       
000030   8080     call    0x80                     call    delay           
000031   8080     call    0x80                     call    delay
000032   8080     call    0x80                     call    delay           
000033   8080     call    0x80                     call    delay       
000034   3c0c     movai   0xc                      movai   0x0c;4
000035   57c2     movra   0x1c2                    movra   LCDDS4
000036   3c06     movai   0x6                      movai   0x06;4
000037   57c3     movra   0x1c3                    movra   LCDDS5   
000038   7394     comr    0x194                    comr    IOP1      
000039   8080     call    0x80                     call    delay           
00003a   8080     call    0x80                     call    delay
00003b   8080     call    0x80                     call    delay           
00003c   8080     call    0x80                     call    delay  
00003d   3c0d     movai   0xd                      movai   0x0d;5
00003e   57c2     movra   0x1c2                    movra   LCDDS4
00003f   3c0a     movai   0xa                      movai   0x0a;5
000040   57c3     movra   0x1c3                    movra   LCDDS5  
000041   7394     comr    0x194                    comr    IOP1       
000042   8080     call    0x80                     call    delay           
000043   8080     call    0x80                     call    delay
000044   8080     call    0x80                     call    delay           
000045   8080     call    0x80                     call    delay 
000046   3c0f     movai   0xf                      movai   0x0f;6
000047   57c2     movra   0x1c2                    movra   LCDDS4
000048   3c0a     movai   0xa                      movai   0x0a;6
000049   57c3     movra   0x1c3                    movra   LCDDS5  
00004a   7394     comr    0x194                    comr    IOP1       
00004b   8080     call    0x80                     call    delay           
00004c   8080     call    0x80                     call    delay
00004d   8080     call    0x80                     call    delay           
00004e   8080     call    0x80                     call    delay 
00004f   3c00     movai   0                        movai   0x00;7
000050   57c2     movra   0x1c2                    movra   LCDDS4
000051   3c0e     movai   0xe                      movai   0x0e;7
000052   57c3     movra   0x1c3                    movra   LCDDS5   
000053   7394     comr    0x194                    comr    IOP1      
000054   8080     call    0x80                     call    delay           
000055   8080     call    0x80                     call    delay
000056   8080     call    0x80                     call    delay           
000057   8080     call    0x80                     call    delay 
000058   3c0f     movai   0xf                      movai   0x0f;8
000059   57c2     movra   0x1c2                    movra   LCDDS4
00005a   3c0f     movai   0xf                      movai   0x0f;8
00005b   57c3     movra   0x1c3                    movra   LCDDS5   
00005c   7394     comr    0x194                    comr    IOP1      
00005d   8080     call    0x80                     call    delay           
00005e   8080     call    0x80                     call    delay
00005f   8080     call    0x80                     call    delay           
000060   8080     call    0x80                     call    delay 
000061   3c0d     movai   0xd                      movai   0x0d;9
000062   57c2     movra   0x1c2                    movra   LCDDS4
000063   3c0f     movai   0xf                      movai   0x0f;9
000064   57c3     movra   0x1c3                    movra   LCDDS5   
000065   7394     comr    0x194                    comr    IOP1      
000066   8080     call    0x80                     call    delay           
000067   8080     call    0x80                     call    delay
000068   8080     call    0x80                     call    delay           
000069   8080     call    0x80                     call    delay 
                                                
                                                   ;STOP
00006a   a010     goto    0x10                     goto    lcd_loop
                                                   
                                           lab_loop:
00006b   3cff     movai   0xff                     movai   0xff ;as output 
00006c   5795     movra   0x195                    movra   OEP1
00006d   7394     comr    0x194                    comr    IOP1
00006e   a06b     goto    0x6b                     goto    lab_loop
                                           
                                           io_int:  
00006f   3c00     movai   0                        movai   0x00 ;as input 
000070   5791     movra   0x191                    movra   OEP0
000071   3cff     movai   0xff                     movai   0xff ;as output 
000072   5795     movra   0x195                    movra   OEP1
000073   3cff     movai   0xff                     movai   0xff ;as pull up 
000074   5792     movra   0x192                    movra   PUP0
000075   5796     movra   0x196                    movra   PUP1
000076   000c     return                           return     
                                           LCD_set:    
000077   3cff     movai   0xff                     movai   0xff   
000078   3cfd     movai   0xfd                     movai   0xfd   
000079   3ce1     movai   0xe1                     movai       0xe1
00007a   57b8     movra   0x1b8                    movra   LCDCR0    
00007b   3cff     movai   0xff                     movai   0xff   
00007c   3c02     movai   0x2                      movai   0x02
00007d   57b9     movra   0x1b9                    movra   LCDCR1
                                                   
                                                  
00007e   cfb8     bset    0x1b8, 0x7               bset   LCDCR0,7 ;LCDEN
                                                   
00007f   000c     return                           return
                                                  
                                           delay:   
000080   3cff     movai   0xff                     movai   0xff
000081   5610     movra   0x10                     movra   TIMEOUT1
000082   3cff     movai   0xff                     movai   0xff
000083   5611     movra   0x11                     movra   TIMEOUT2
000084   6a11     djzr    0x11                      djzr    TIMEOUT2
000085   a084     goto    0x84                     goto    $-1
000086   6a10     djzr    0x10                     djzr    TIMEOUT1
000087   a083     goto    0x83                     goto    $-4
000088   000c     return                           return
                                           
                                                   org 0x0ff6
                                           inte1:          
000ff6   0000     nop                              NOP 
000ff7   aff6     goto    0xff6                    goto    inte1         
                                                   END


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

0000 : XX-------------- XXXXXXXXXXXXXXXX XXXXXXXXXXXXXXXX XXXXXXXXXXXXXXXX
0040 : XXXXXXXXXXXXXXXX XXXXXXXXXXXXXXXX XXXXXXXXXXXXXXXX XXXXXXXXXXXXXXXX
0080 : XXXXXXXXXXXXXXXX XXXXXXXXXXXXXXXX XXXXXXXXXXXXXXXX XXXXXXXXXXXXXXXX
00C0 : XXXXXXXXXXXXXXXX XXXXXXXXXXXXXXXX XXXXXXXXXXXXXXXX XXXXXXXXXXXXXXXX
0100 : XXXXXXXXXXXXXXXX XX-------------- ---------------- ----------------
1FC0 : ---------------- ---------------- ------------XXXX ----------------

All other memory blocks unused.

Program Memory Words Used:   132

