OpenCores
URL https://opencores.org/ocsvn/395_vgs/395_vgs/trunk

Subversion Repositories 395_vgs

[/] [395_vgs/] [trunk/] [src/] [PIC18/] [intro.lst] - Rev 32

Compare with Previous | Blame | View Log

;/////////////////////////////////////////////////////////////////////////////////
;// Code Generator: BoostC Compiler and Linker - http://www.picant.com/c2c/c.html
;// License Type  : Full License
;// Limitations   : PIC18 max code size:Unlimited, max RAM banks:Unlimited, Non commercial use only
;/////////////////////////////////////////////////////////////////////////////////

        ORG 0x00000000
0000  EF70F002          GOTO    _startup
        ORG 0x00000004
0004            delay_ms_00000
; { delay_ms ; function begin
0004  5220              MOVF delay_ms_00000_arg_del, F
0006  A4D8              BTFSS STATUS,Z
0008  EF07F000          GOTO    label4026531859
000C  0012              RETURN
000E            label4026531859
000E  0EFF              MOVLW 0xFF
0010            label4026531860
0010  0000              NOP
0012  0000              NOP
0014  0000              NOP
0016  0000              NOP
0018  0000              NOP
001A  0000              NOP
001C  0000              NOP
001E  0000              NOP
0020  0000              NOP
0022  0000              NOP
0024  0000              NOP
0026  0000              NOP
0028  0000              NOP
002A  0000              NOP
002C  0000              NOP
002E  0000              NOP
0030  0000              NOP
0032  0000              NOP
0034  0000              NOP
0036  0000              NOP
0038  0000              NOP
003A  0000              NOP
003C  0000              NOP
003E  0000              NOP
0040  0000              NOP
0042  0000              NOP
0044  0000              NOP
0046  0000              NOP
0048  0000              NOP
004A  0000              NOP
004C  0000              NOP
004E  0000              NOP
0050  0000              NOP
0052  0000              NOP
0054  0000              NOP
0056  0000              NOP
0058  0000              NOP
005A  0000              NOP
005C  0000              NOP
005E  0000              NOP
0060  0000              NOP
0062  0000              NOP
0064  0000              NOP
0066  0000              NOP
0068  0000              NOP
006A  0FFF              ADDLW 0xFF
006C  A4D8              BTFSS STATUS,Z
006E  EF08F000          GOTO    label4026531860
0072  0000              NOP
0074  2E20              DECFSZ delay_ms_00000_arg_del, F
0076  EF07F000          GOTO    label4026531859
007A  0012              RETURN
; } delay_ms function end

        ORG 0x0000007C
007C            delay_us_00000
; { delay_us ; function begin
007C  5205              MOVF delay_us_00000_arg_del, F
007E  A4D8              BTFSS STATUS,Z
0080  EF43F000          GOTO    label4026531844
0084  0012              RETURN
0086            label4026531844
0086  0E02              MOVLW 0x02
0088            label4026531845
0088  0FFF              ADDLW 0xFF
008A  A4D8              BTFSS STATUS,Z
008C  EF44F000          GOTO    label4026531845
0090  2E05              DECFSZ delay_us_00000_arg_del, F
0092  EF43F000          GOTO    label4026531844
0096  0012              RETURN
; } delay_us function end

        ORG 0x00000098
0098            __mul_32_3_00006
; { __mul_32_32 ; function begin
0098  6A00              CLRF CompTempVarRet0
009A  6A01              CLRF CompTempVarRet0+D'1'
009C  6A02              CLRF CompTempVarRet0+D'2'
009E  6A03              CLRF CompTempVarRet0+D'3'
00A0  6A02              CLRF CompTempVarRet0+D'2'
00A2  6A03              CLRF CompTempVarRet0+D'3'
00A4  5035              MOVF __mul_32_3_00006_arg_a, W
00A6  0239              MULWF __mul_32_3_00006_arg_b
00A8  50F3              MOVF gbl_prodl, W
00AA  6E00              MOVWF CompTempVarRet0
00AC  50F4              MOVF gbl_prodh, W
00AE  6E01              MOVWF CompTempVarRet0+D'1'
00B0  5036              MOVF __mul_32_3_00006_arg_a+D'1', W
00B2  0239              MULWF __mul_32_3_00006_arg_b
00B4  50F3              MOVF gbl_prodl, W
00B6  2601              ADDWF CompTempVarRet0+D'1', F
00B8  50F4              MOVF gbl_prodh, W
00BA  2202              ADDWFC CompTempVarRet0+D'2', F
00BC  B0D8              BTFSC gbl_status,0
00BE  2A03              INCF CompTempVarRet0+D'3', F
00C0  5037              MOVF __mul_32_3_00006_arg_a+D'2', W
00C2  0239              MULWF __mul_32_3_00006_arg_b
00C4  50F3              MOVF gbl_prodl, W
00C6  2602              ADDWF CompTempVarRet0+D'2', F
00C8  50F4              MOVF gbl_prodh, W
00CA  2203              ADDWFC CompTempVarRet0+D'3', F
00CC  5038              MOVF __mul_32_3_00006_arg_a+D'3', W
00CE  0239              MULWF __mul_32_3_00006_arg_b
00D0  50F3              MOVF gbl_prodl, W
00D2  2603              ADDWF CompTempVarRet0+D'3', F
00D4  5035              MOVF __mul_32_3_00006_arg_a, W
00D6  023A              MULWF __mul_32_3_00006_arg_b+D'1'
00D8  50F3              MOVF gbl_prodl, W
00DA  2601              ADDWF CompTempVarRet0+D'1', F
00DC  50F4              MOVF gbl_prodh, W
00DE  2202              ADDWFC CompTempVarRet0+D'2', F
00E0  B0D8              BTFSC gbl_status,0
00E2  2A03              INCF CompTempVarRet0+D'3', F
00E4  5036              MOVF __mul_32_3_00006_arg_a+D'1', W
00E6  023A              MULWF __mul_32_3_00006_arg_b+D'1'
00E8  50F3              MOVF gbl_prodl, W
00EA  2602              ADDWF CompTempVarRet0+D'2', F
00EC  50F4              MOVF gbl_prodh, W
00EE  2203              ADDWFC CompTempVarRet0+D'3', F
00F0  5037              MOVF __mul_32_3_00006_arg_a+D'2', W
00F2  023A              MULWF __mul_32_3_00006_arg_b+D'1'
00F4  50F3              MOVF gbl_prodl, W
00F6  2603              ADDWF CompTempVarRet0+D'3', F
00F8  5035              MOVF __mul_32_3_00006_arg_a, W
00FA  023B              MULWF __mul_32_3_00006_arg_b+D'2'
00FC  50F3              MOVF gbl_prodl, W
00FE  2602              ADDWF CompTempVarRet0+D'2', F
0100  50F4              MOVF gbl_prodh, W
0102  2203              ADDWFC CompTempVarRet0+D'3', F
0104  5036              MOVF __mul_32_3_00006_arg_a+D'1', W
0106  023B              MULWF __mul_32_3_00006_arg_b+D'2'
0108  50F3              MOVF gbl_prodl, W
010A  2603              ADDWF CompTempVarRet0+D'3', F
010C  5035              MOVF __mul_32_3_00006_arg_a, W
010E  023C              MULWF __mul_32_3_00006_arg_b+D'3'
0110  50F3              MOVF gbl_prodl, W
0112  2603              ADDWF CompTempVarRet0+D'3', F
0114  0012              RETURN
; } __mul_32_32 function end

        ORG 0x00000116
0116            draw_00000
; { draw ; function begin
0116  0E02              MOVLW 0x02
0118  6E80              MOVWF gbl_porta
011A  6A80              CLRF gbl_porta
011C            label268435830
011C  AE83              BTFSS gbl_portd,7
011E  D7FE              BRA     label268435830
0120  0012              RETURN
; } draw function end

        ORG 0x00000122
0122            load_s_add_0000C
; { load_s_addr ; function begin
0122  0E02              MOVLW 0x02
0124  6E82              MOVWF gbl_portc
0126  503D              MOVF load_s_add_0000C_arg_address, W
0128  0BFF              ANDLW 0xFF
012A  6E81              MOVWF gbl_portb
012C  0E01              MOVLW 0x01
012E  6E80              MOVWF gbl_porta
0130  6A80              CLRF gbl_porta
0132  503E              MOVF load_s_add_0000C_arg_address+D'1', W
0134  6E3D              MOVWF load_s_add_0000C_arg_address
0136  503F              MOVF load_s_add_0000C_arg_address+D'2', W
0138  6E3E              MOVWF load_s_add_0000C_arg_address+D'1'
013A  5040              MOVF load_s_add_0000C_arg_address+D'3', W
013C  6E3F              MOVWF load_s_add_0000C_arg_address+D'2'
013E  6A40              CLRF load_s_add_0000C_arg_address+D'3'
0140  0E01              MOVLW 0x01
0142  6E82              MOVWF gbl_portc
0144  503D              MOVF load_s_add_0000C_arg_address, W
0146  0BFF              ANDLW 0xFF
0148  6E81              MOVWF gbl_portb
014A  0E01              MOVLW 0x01
014C  6E80              MOVWF gbl_porta
014E  6A80              CLRF gbl_porta
0150  503E              MOVF load_s_add_0000C_arg_address+D'1', W
0152  6E3D              MOVWF load_s_add_0000C_arg_address
0154  503F              MOVF load_s_add_0000C_arg_address+D'2', W
0156  6E3E              MOVWF load_s_add_0000C_arg_address+D'1'
0158  5040              MOVF load_s_add_0000C_arg_address+D'3', W
015A  6E3F              MOVWF load_s_add_0000C_arg_address+D'2'
015C  6A40              CLRF load_s_add_0000C_arg_address+D'3'
015E  6A82              CLRF gbl_portc
0160  503D              MOVF load_s_add_0000C_arg_address, W
0162  0BFF              ANDLW 0xFF
0164  6E81              MOVWF gbl_portb
0166  0E01              MOVLW 0x01
0168  6E80              MOVWF gbl_porta
016A  6A80              CLRF gbl_porta
016C  0012              RETURN
; } load_s_addr function end

        ORG 0x0000016E
016E            load_t_add_0000B
; { load_t_addr ; function begin
016E  0E05              MOVLW 0x05
0170  6E82              MOVWF gbl_portc
0172  503D              MOVF load_t_add_0000B_arg_address, W
0174  0BFF              ANDLW 0xFF
0176  6E81              MOVWF gbl_portb
0178  0E01              MOVLW 0x01
017A  6E80              MOVWF gbl_porta
017C  6A80              CLRF gbl_porta
017E  503E              MOVF load_t_add_0000B_arg_address+D'1', W
0180  6E3D              MOVWF load_t_add_0000B_arg_address
0182  503F              MOVF load_t_add_0000B_arg_address+D'2', W
0184  6E3E              MOVWF load_t_add_0000B_arg_address+D'1'
0186  5040              MOVF load_t_add_0000B_arg_address+D'3', W
0188  6E3F              MOVWF load_t_add_0000B_arg_address+D'2'
018A  6A40              CLRF load_t_add_0000B_arg_address+D'3'
018C  0E04              MOVLW 0x04
018E  6E82              MOVWF gbl_portc
0190  503D              MOVF load_t_add_0000B_arg_address, W
0192  0BFF              ANDLW 0xFF
0194  6E81              MOVWF gbl_portb
0196  0E01              MOVLW 0x01
0198  6E80              MOVWF gbl_porta
019A  6A80              CLRF gbl_porta
019C  503E              MOVF load_t_add_0000B_arg_address+D'1', W
019E  6E3D              MOVWF load_t_add_0000B_arg_address
01A0  503F              MOVF load_t_add_0000B_arg_address+D'2', W
01A2  6E3E              MOVWF load_t_add_0000B_arg_address+D'1'
01A4  5040              MOVF load_t_add_0000B_arg_address+D'3', W
01A6  6E3F              MOVWF load_t_add_0000B_arg_address+D'2'
01A8  6A40              CLRF load_t_add_0000B_arg_address+D'3'
01AA  0E03              MOVLW 0x03
01AC  6E82              MOVWF gbl_portc
01AE  503D              MOVF load_t_add_0000B_arg_address, W
01B0  0BFF              ANDLW 0xFF
01B2  6E81              MOVWF gbl_portb
01B4  0E01              MOVLW 0x01
01B6  6E80              MOVWF gbl_porta
01B8  6A80              CLRF gbl_porta
01BA  0012              RETURN
; } load_t_addr function end

        ORG 0x000001BC
01BC            load_s_lin_0000A
; { load_s_lines ; function begin
01BC  0E07              MOVLW 0x07
01BE  6E82              MOVWF gbl_portc
01C0  503D              MOVF load_s_lin_0000A_arg_lines, W
01C2  0BFF              ANDLW 0xFF
01C4  6E81              MOVWF gbl_portb
01C6  0E01              MOVLW 0x01
01C8  6E80              MOVWF gbl_porta
01CA  6A80              CLRF gbl_porta
01CC  503E              MOVF load_s_lin_0000A_arg_lines+D'1', W
01CE  6E3D              MOVWF load_s_lin_0000A_arg_lines
01D0  6A3E              CLRF load_s_lin_0000A_arg_lines+D'1'
01D2  0E06              MOVLW 0x06
01D4  6E82              MOVWF gbl_portc
01D6  503D              MOVF load_s_lin_0000A_arg_lines, W
01D8  0BFF              ANDLW 0xFF
01DA  6E81              MOVWF gbl_portb
01DC  0E01              MOVLW 0x01
01DE  6E80              MOVWF gbl_porta
01E0  6A80              CLRF gbl_porta
01E2  0012              RETURN
; } load_s_lines function end

        ORG 0x000001E4
01E4            load_l_siz_00009
; { load_l_size ; function begin
01E4  0E09              MOVLW 0x09
01E6  6E82              MOVWF gbl_portc
01E8  503D              MOVF load_l_siz_00009_arg_size, W
01EA  0BFF              ANDLW 0xFF
01EC  6E81              MOVWF gbl_portb
01EE  0E01              MOVLW 0x01
01F0  6E80              MOVWF gbl_porta
01F2  6A80              CLRF gbl_porta
01F4  503E              MOVF load_l_siz_00009_arg_size+D'1', W
01F6  6E3D              MOVWF load_l_siz_00009_arg_size
01F8  6A3E              CLRF load_l_siz_00009_arg_size+D'1'
01FA  0E08              MOVLW 0x08
01FC  6E82              MOVWF gbl_portc
01FE  503D              MOVF load_l_siz_00009_arg_size, W
0200  0B0F              ANDLW 0x0F
0202  6E81              MOVWF gbl_portb
0204  0E01              MOVLW 0x01
0206  6E80              MOVWF gbl_porta
0208  6A80              CLRF gbl_porta
020A  0012              RETURN
; } load_l_size function end

        ORG 0x0000020C
020C            load_alpha_00008
; { load_alphaOp ; function begin
020C  0E0A              MOVLW 0x0A
020E  6E82              MOVWF gbl_portc
0210  A03D              BTFSS load_alpha_00008_arg_alphaOp,0
0212  D003              BRA     label268435770
0214  0E01              MOVLW 0x01
0216  6E81              MOVWF gbl_portb
0218  D001              BRA     label268435773
021A            label268435770
021A  6A81              CLRF gbl_portb
021C            label268435773
021C  0E01              MOVLW 0x01
021E  6E80              MOVWF gbl_porta
0220  6A80              CLRF gbl_porta
0222  0012              RETURN
; } load_alphaOp function end

        ORG 0x00000224
0224            drawsprite_00000
; { drawsprite ; function begin
0224  502C              MOVF drawsprite_00000_arg_sprite+D'12', W
0226  6E35              MOVWF __mul_32_3_00006_arg_a
0228  502D              MOVF drawsprite_00000_arg_sprite+D'13', W
022A  6E36              MOVWF __mul_32_3_00006_arg_a+D'1'
022C  502E              MOVF drawsprite_00000_arg_sprite+D'14', W
022E  6E37              MOVWF __mul_32_3_00006_arg_a+D'2'
0230  502F              MOVF drawsprite_00000_arg_sprite+D'15', W
0232  6E38              MOVWF __mul_32_3_00006_arg_a+D'3'
0234  0EA0              MOVLW 0xA0
0236  6E39              MOVWF __mul_32_3_00006_arg_b
0238  6A3A              CLRF __mul_32_3_00006_arg_b+D'1'
023A  6A3B              CLRF __mul_32_3_00006_arg_b+D'2'
023C  6A3C              CLRF __mul_32_3_00006_arg_b+D'3'
023E  EC4CF000          CALL __mul_32_3_00006
0242  5000              MOVF CompTempVarRet0, W
0244  6E31              MOVWF drawsprite_00000_1_destina_0000D
0246  5001              MOVF CompTempVarRet0+D'1', W
0248  6E32              MOVWF drawsprite_00000_1_destina_0000D+D'1'
024A  5002              MOVF CompTempVarRet0+D'2', W
024C  6E33              MOVWF drawsprite_00000_1_destina_0000D+D'2'
024E  5003              MOVF CompTempVarRet0+D'3', W
0250  6E34              MOVWF drawsprite_00000_1_destina_0000D+D'3'
0252  5028              MOVF drawsprite_00000_arg_sprite+D'8', W
0254  2631              ADDWF drawsprite_00000_1_destina_0000D, F
0256  5029              MOVF drawsprite_00000_arg_sprite+D'9', W
0258  2232              ADDWFC drawsprite_00000_1_destina_0000D+D'1', F
025A  502A              MOVF drawsprite_00000_arg_sprite+D'10', W
025C  2233              ADDWFC drawsprite_00000_1_destina_0000D+D'2', F
025E  502B              MOVF drawsprite_00000_arg_sprite+D'11', W
0260  2234              ADDWFC drawsprite_00000_1_destina_0000D+D'3', F
0262  5031              MOVF drawsprite_00000_1_destina_0000D, W
0264  6E3D              MOVWF load_t_add_0000B_arg_address
0266  5032              MOVF drawsprite_00000_1_destina_0000D+D'1', W
0268  6E3E              MOVWF load_t_add_0000B_arg_address+D'1'
026A  5033              MOVF drawsprite_00000_1_destina_0000D+D'2', W
026C  6E3F              MOVWF load_t_add_0000B_arg_address+D'2'
026E  5034              MOVF drawsprite_00000_1_destina_0000D+D'3', W
0270  6E40              MOVWF load_t_add_0000B_arg_address+D'3'
0272  ECB7F000          CALL load_t_add_0000B
0276  5020              MOVF drawsprite_00000_arg_sprite, W
0278  6E3D              MOVWF load_s_add_0000C_arg_address
027A  5021              MOVF drawsprite_00000_arg_sprite+D'1', W
027C  6E3E              MOVWF load_s_add_0000C_arg_address+D'1'
027E  5022              MOVF drawsprite_00000_arg_sprite+D'2', W
0280  6E3F              MOVWF load_s_add_0000C_arg_address+D'2'
0282  5023              MOVF drawsprite_00000_arg_sprite+D'3', W
0284  6E40              MOVWF load_s_add_0000C_arg_address+D'3'
0286  EC91F000          CALL load_s_add_0000C
028A  5026              MOVF drawsprite_00000_arg_sprite+D'6', W
028C  6E3D              MOVWF load_s_lin_0000A_arg_lines
028E  5027              MOVF drawsprite_00000_arg_sprite+D'7', W
0290  6E3E              MOVWF load_s_lin_0000A_arg_lines+D'1'
0292  ECDEF000          CALL load_s_lin_0000A
0296  5024              MOVF drawsprite_00000_arg_sprite+D'4', W
0298  6E3D              MOVWF load_l_siz_00009_arg_size
029A  5025              MOVF drawsprite_00000_arg_sprite+D'5', W
029C  6E3E              MOVWF load_l_siz_00009_arg_size+D'1'
029E  ECF2F000          CALL load_l_siz_00009
02A2  5230              MOVF drawsprite_00000_arg_sprite+D'16', F
02A4  E004              BZ      label268435755
02A6  803D              BSF load_alpha_00008_arg_alphaOp,0
02A8  EC06F001          CALL load_alpha_00008
02AC  D003              BRA     label268435761
02AE            label268435755
02AE  903D              BCF load_alpha_00008_arg_alphaOp,0
02B0  EC06F001          CALL load_alpha_00008
02B4            label268435761
02B4  EC8BF000          CALL draw_00000
02B8  0012              RETURN
; } drawsprite function end

        ORG 0x000002BA
02BA            drawtoback_00007
; { drawtobackground ; function begin
02BA  6A3D              CLRF load_t_add_0000B_arg_address
02BC  6A3E              CLRF load_t_add_0000B_arg_address+D'1'
02BE  6A3F              CLRF load_t_add_0000B_arg_address+D'2'
02C0  6A40              CLRF load_t_add_0000B_arg_address+D'3'
02C2  ECB7F000          CALL load_t_add_0000B
02C6  5020              MOVF drawtoback_00007_arg_source, W
02C8  6E3D              MOVWF load_s_add_0000C_arg_address
02CA  5021              MOVF drawtoback_00007_arg_source+D'1', W
02CC  6E3E              MOVWF load_s_add_0000C_arg_address+D'1'
02CE  5022              MOVF drawtoback_00007_arg_source+D'2', W
02D0  6E3F              MOVWF load_s_add_0000C_arg_address+D'2'
02D2  5023              MOVF drawtoback_00007_arg_source+D'3', W
02D4  6E40              MOVWF load_s_add_0000C_arg_address+D'3'
02D6  EC91F000          CALL load_s_add_0000C
02DA  5026              MOVF drawtoback_00007_arg_source+D'6', W
02DC  6E3D              MOVWF load_s_lin_0000A_arg_lines
02DE  5027              MOVF drawtoback_00007_arg_source+D'7', W
02E0  6E3E              MOVWF load_s_lin_0000A_arg_lines+D'1'
02E2  ECDEF000          CALL load_s_lin_0000A
02E6  5024              MOVF drawtoback_00007_arg_source+D'4', W
02E8  6E3D              MOVWF load_l_siz_00009_arg_size
02EA  5025              MOVF drawtoback_00007_arg_source+D'5', W
02EC  6E3E              MOVWF load_l_siz_00009_arg_size+D'1'
02EE  ECF2F000          CALL load_l_siz_00009
02F2  903D              BCF load_alpha_00008_arg_alphaOp,0
02F4  EC06F001          CALL load_alpha_00008
02F8  EC8BF000          CALL draw_00000
02FC  0012              RETURN
; } drawtobackground function end

        ORG 0x000002FE
02FE            setupinput_00000
; { setupinput ; function begin
02FE  9C94              BCF gbl_trisc,6
0300  8E94              BSF gbl_trisc,7
0302  8A94              BSF gbl_trisc,5
0304  68AF              SETF gbl_spbrg
0306  88AC              BSF gbl_txsta,4
0308  8EAB              BSF gbl_rcsta,7
030A  8EAC              BSF gbl_txsta,7
030C  9AAB              BCF gbl_rcsta,5
030E  98AB              BCF gbl_rcsta,4
0310  9A83              BCF gbl_portd,5
0312  0012              RETURN
; } setupinput function end

        ORG 0x00000314
0314            getinput_00000
; { getinput ; function begin
0314  8A83              BSF gbl_portd,5
0316  0E0C              MOVLW 0x0C
0318  6E05              MOVWF delay_us_00000_arg_del
031A  EC3EF000          CALL delay_us_00000
031E  9A83              BCF gbl_portd,5
0320  0E06              MOVLW 0x06
0322  6E05              MOVWF delay_us_00000_arg_del
0324  EC3EF000          CALL delay_us_00000
0328  8AAB              BSF gbl_rcsta,5
032A  AA9E              BTFSS gbl_pir1,5
032C  D002              BRA     label268437510
032E  50AE              MOVF gbl_rcreg, W
0330  6E00              MOVWF CompTempVarRet0
0332            label268437510
0332  0012              RETURN
; } getinput function end

        ORG 0x00000334
0334            bootup_00000
; { bootup ; function begin
0334  6A05              CLRF bootup_00000_1_i
0336  6A06              CLRF bootup_00000_1_j
0338  6A07              CLRF bootup_00000_1_black
033A  0EC2              MOVLW 0xC2
033C  6E08              MOVWF bootup_00000_1_black+D'1'
033E  0E01              MOVLW 0x01
0340  6E09              MOVWF bootup_00000_1_black+D'2'
0342  6A0A              CLRF bootup_00000_1_black+D'3'
0344  0EF0              MOVLW 0xF0
0346  6E0D              MOVWF bootup_00000_1_black+D'6'
0348  6A0E              CLRF bootup_00000_1_black+D'7'
034A  0EA0              MOVLW 0xA0
034C  6E0B              MOVWF bootup_00000_1_black+D'4'
034E  6A0C              CLRF bootup_00000_1_black+D'5'
0350  6A0F              CLRF bootup_00000_1_frame
0352  0E68              MOVLW 0x68
0354  6E10              MOVWF bootup_00000_1_frame+D'1'
0356  0E37              MOVLW 0x37
0358  6E11              MOVWF bootup_00000_1_frame+D'2'
035A  6A12              CLRF bootup_00000_1_frame+D'3'
035C  0EA0              MOVLW 0xA0
035E  6E15              MOVWF bootup_00000_1_frame+D'6'
0360  6A16              CLRF bootup_00000_1_frame+D'7'
0362  0E4F              MOVLW 0x4F
0364  6E13              MOVWF bootup_00000_1_frame+D'4'
0366  6A14              CLRF bootup_00000_1_frame+D'5'
0368  6A17              CLRF bootup_00000_1_frame+D'8'
036A  6A18              CLRF bootup_00000_1_frame+D'9'
036C  6A19              CLRF bootup_00000_1_frame+D'10'
036E  6A1A              CLRF bootup_00000_1_frame+D'11'
0370  6A1B              CLRF bootup_00000_1_frame+D'12'
0372  6A1C              CLRF bootup_00000_1_frame+D'13'
0374  6A1D              CLRF bootup_00000_1_frame+D'14'
0376  6A1E              CLRF bootup_00000_1_frame+D'15'
0378  6A1F              CLRF bootup_00000_1_frame+D'16'
037A  0E28              MOVLW 0x28
037C  6E17              MOVWF bootup_00000_1_frame+D'8'
037E  6A18              CLRF bootup_00000_1_frame+D'9'
0380  6A19              CLRF bootup_00000_1_frame+D'10'
0382  6A1A              CLRF bootup_00000_1_frame+D'11'
0384  0E28              MOVLW 0x28
0386  6E1B              MOVWF bootup_00000_1_frame+D'12'
0388  6A1C              CLRF bootup_00000_1_frame+D'13'
038A  6A1D              CLRF bootup_00000_1_frame+D'14'
038C  6A1E              CLRF bootup_00000_1_frame+D'15'
038E  500E              MOVF bootup_00000_1_black+D'7', W
0390  6E27              MOVWF drawtoback_00007_arg_source+D'7'
0392  500D              MOVF bootup_00000_1_black+D'6', W
0394  6E26              MOVWF drawtoback_00007_arg_source+D'6'
0396  500C              MOVF bootup_00000_1_black+D'5', W
0398  6E25              MOVWF drawtoback_00007_arg_source+D'5'
039A  500B              MOVF bootup_00000_1_black+D'4', W
039C  6E24              MOVWF drawtoback_00007_arg_source+D'4'
039E  500A              MOVF bootup_00000_1_black+D'3', W
03A0  6E23              MOVWF drawtoback_00007_arg_source+D'3'
03A2  5009              MOVF bootup_00000_1_black+D'2', W
03A4  6E22              MOVWF drawtoback_00007_arg_source+D'2'
03A6  5008              MOVF bootup_00000_1_black+D'1', W
03A8  6E21              MOVWF drawtoback_00007_arg_source+D'1'
03AA  5007              MOVF bootup_00000_1_black, W
03AC  6E20              MOVWF drawtoback_00007_arg_source
03AE  EC5DF001          CALL drawtoback_00007
03B2  0EC8              MOVLW 0xC8
03B4  6E20              MOVWF delay_ms_00000_arg_del
03B6  EC02F000          CALL delay_ms_00000
03BA  6A05              CLRF bootup_00000_1_i
03BC            label268437212
03BC  0E15              MOVLW 0x15
03BE  6005              CPFSLT bootup_00000_1_i
03C0  D072              BRA     label268437213
03C2  501F              MOVF bootup_00000_1_frame+D'16', W
03C4  6E30              MOVWF drawsprite_00000_arg_sprite+D'16'
03C6  501E              MOVF bootup_00000_1_frame+D'15', W
03C8  6E2F              MOVWF drawsprite_00000_arg_sprite+D'15'
03CA  501D              MOVF bootup_00000_1_frame+D'14', W
03CC  6E2E              MOVWF drawsprite_00000_arg_sprite+D'14'
03CE  501C              MOVF bootup_00000_1_frame+D'13', W
03D0  6E2D              MOVWF drawsprite_00000_arg_sprite+D'13'
03D2  501B              MOVF bootup_00000_1_frame+D'12', W
03D4  6E2C              MOVWF drawsprite_00000_arg_sprite+D'12'
03D6  501A              MOVF bootup_00000_1_frame+D'11', W
03D8  6E2B              MOVWF drawsprite_00000_arg_sprite+D'11'
03DA  5019              MOVF bootup_00000_1_frame+D'10', W
03DC  6E2A              MOVWF drawsprite_00000_arg_sprite+D'10'
03DE  5018              MOVF bootup_00000_1_frame+D'9', W
03E0  6E29              MOVWF drawsprite_00000_arg_sprite+D'9'
03E2  5017              MOVF bootup_00000_1_frame+D'8', W
03E4  6E28              MOVWF drawsprite_00000_arg_sprite+D'8'
03E6  5016              MOVF bootup_00000_1_frame+D'7', W
03E8  6E27              MOVWF drawsprite_00000_arg_sprite+D'7'
03EA  5015              MOVF bootup_00000_1_frame+D'6', W
03EC  6E26              MOVWF drawsprite_00000_arg_sprite+D'6'
03EE  5014              MOVF bootup_00000_1_frame+D'5', W
03F0  6E25              MOVWF drawsprite_00000_arg_sprite+D'5'
03F2  5013              MOVF bootup_00000_1_frame+D'4', W
03F4  6E24              MOVWF drawsprite_00000_arg_sprite+D'4'
03F6  5012              MOVF bootup_00000_1_frame+D'3', W
03F8  6E23              MOVWF drawsprite_00000_arg_sprite+D'3'
03FA  5011              MOVF bootup_00000_1_frame+D'2', W
03FC  6E22              MOVWF drawsprite_00000_arg_sprite+D'2'
03FE  5010              MOVF bootup_00000_1_frame+D'1', W
0400  6E21              MOVWF drawsprite_00000_arg_sprite+D'1'
0402  500F              MOVF bootup_00000_1_frame, W
0404  6E20              MOVWF drawsprite_00000_arg_sprite
0406  EC12F001          CALL drawsprite_00000
040A  0E12              MOVLW 0x12
040C  6405              CPFSGT bootup_00000_1_i
040E  D005              BRA     label268437220
0410  0E64              MOVLW 0x64
0412  6E20              MOVWF delay_ms_00000_arg_del
0414  EC02F000          CALL delay_ms_00000
0418  D004              BRA     label268437226
041A            label268437220
041A  0E3C              MOVLW 0x3C
041C  6E20              MOVWF delay_ms_00000_arg_del
041E  EC02F000          CALL delay_ms_00000
0422            label268437226
0422  0E50              MOVLW 0x50
0424  260F              ADDWF bootup_00000_1_frame, F
0426  0E00              MOVLW 0x00
0428  2210              ADDWFC bootup_00000_1_frame+D'1', F
042A  0E00              MOVLW 0x00
042C  2211              ADDWFC bootup_00000_1_frame+D'2', F
042E  0E00              MOVLW 0x00
0430  2212              ADDWFC bootup_00000_1_frame+D'3', F
0432  501F              MOVF bootup_00000_1_frame+D'16', W
0434  6E30              MOVWF drawsprite_00000_arg_sprite+D'16'
0436  501E              MOVF bootup_00000_1_frame+D'15', W
0438  6E2F              MOVWF drawsprite_00000_arg_sprite+D'15'
043A  501D              MOVF bootup_00000_1_frame+D'14', W
043C  6E2E              MOVWF drawsprite_00000_arg_sprite+D'14'
043E  501C              MOVF bootup_00000_1_frame+D'13', W
0440  6E2D              MOVWF drawsprite_00000_arg_sprite+D'13'
0442  501B              MOVF bootup_00000_1_frame+D'12', W
0444  6E2C              MOVWF drawsprite_00000_arg_sprite+D'12'
0446  501A              MOVF bootup_00000_1_frame+D'11', W
0448  6E2B              MOVWF drawsprite_00000_arg_sprite+D'11'
044A  5019              MOVF bootup_00000_1_frame+D'10', W
044C  6E2A              MOVWF drawsprite_00000_arg_sprite+D'10'
044E  5018              MOVF bootup_00000_1_frame+D'9', W
0450  6E29              MOVWF drawsprite_00000_arg_sprite+D'9'
0452  5017              MOVF bootup_00000_1_frame+D'8', W
0454  6E28              MOVWF drawsprite_00000_arg_sprite+D'8'
0456  5016              MOVF bootup_00000_1_frame+D'7', W
0458  6E27              MOVWF drawsprite_00000_arg_sprite+D'7'
045A  5015              MOVF bootup_00000_1_frame+D'6', W
045C  6E26              MOVWF drawsprite_00000_arg_sprite+D'6'
045E  5014              MOVF bootup_00000_1_frame+D'5', W
0460  6E25              MOVWF drawsprite_00000_arg_sprite+D'5'
0462  5013              MOVF bootup_00000_1_frame+D'4', W
0464  6E24              MOVWF drawsprite_00000_arg_sprite+D'4'
0466  5012              MOVF bootup_00000_1_frame+D'3', W
0468  6E23              MOVWF drawsprite_00000_arg_sprite+D'3'
046A  5011              MOVF bootup_00000_1_frame+D'2', W
046C  6E22              MOVWF drawsprite_00000_arg_sprite+D'2'
046E  5010              MOVF bootup_00000_1_frame+D'1', W
0470  6E21              MOVWF drawsprite_00000_arg_sprite+D'1'
0472  500F              MOVF bootup_00000_1_frame, W
0474  6E20              MOVWF drawsprite_00000_arg_sprite
0476  EC12F001          CALL drawsprite_00000
047A  0E12              MOVLW 0x12
047C  6405              CPFSGT bootup_00000_1_i
047E  D005              BRA     label268437236
0480  0E64              MOVLW 0x64
0482  6E20              MOVWF delay_ms_00000_arg_del
0484  EC02F000          CALL delay_ms_00000
0488  D004              BRA     label268437242
048A            label268437236
048A  0E3C              MOVLW 0x3C
048C  6E20              MOVWF delay_ms_00000_arg_del
048E  EC02F000          CALL delay_ms_00000
0492            label268437242
0492  0EB0              MOVLW 0xB0
0494  260F              ADDWF bootup_00000_1_frame, F
0496  0E63              MOVLW 0x63
0498  2210              ADDWFC bootup_00000_1_frame+D'1', F
049A  0E00              MOVLW 0x00
049C  2211              ADDWFC bootup_00000_1_frame+D'2', F
049E  0E00              MOVLW 0x00
04A0  2212              ADDWFC bootup_00000_1_frame+D'3', F
04A2  2A05              INCF bootup_00000_1_i, F
04A4  D78B              BRA     label268437212
04A6            label268437213
04A6  0012              RETURN
; } bootup function end

        ORG 0x000004A8
04A8            main
; { main ; function begin
04A8  0E07              MOVLW 0x07
04AA  6EC1              MOVWF gbl_adcon1
04AC  6A92              CLRF gbl_trisa
04AE  6A93              CLRF gbl_trisb
04B0  0E80              MOVLW 0x80
04B2  6E94              MOVWF gbl_trisc
04B4  6E95              MOVWF gbl_trisd
04B6  6A80              CLRF gbl_porta
04B8  6A81              CLRF gbl_portb
04BA  6A82              CLRF gbl_portc
04BC  6A82              CLRF gbl_portc
04BE  EC9AF001          CALL bootup_00000
04C2  EC7FF001          CALL setupinput_00000
04C6            label268437264
04C6  EC8AF001          CALL getinput_00000
04CA  5000              MOVF CompTempVarRet0, W
04CC  6E04              MOVWF main_1_temp
04CE  0EF7              MOVLW 0xF7
04D0  1404              ANDWF main_1_temp, W
04D2  A4D8              BTFSS STATUS,Z
04D4  8083              BSF gbl_portd,0
04D6  0EFB              MOVLW 0xFB
04D8  1404              ANDWF main_1_temp, W
04DA  A4D8              BTFSS STATUS,Z
04DC  9083              BCF gbl_portd,0
04DE  D7F3              BRA     label268437264
; } main function end

        ORG 0x000004E0
04E0            _startup
04E0  EF54F002          GOTO    main

Compare with Previous | Blame | View Log

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.