![]() | ![]() | ![]() |
| | |||||||
| Micro Controllers Discuss all aspects of micro controllers - building them, coding them, etc. All controllers are welcome - PIC, BASIC, Z8 Encore!, etc. |
| | LinkBack | Thread Tools | Display Modes |
| | (permalink) |
| Is this your work ? ; Generated by WinDis84, (c) Nigel Goodwin 1998. LIST P=16F84, F=INHX8M include "P16FXX.inc" ORG 0x0000 CLRF STATUS MOVLW 0x00 MOVWF PCLATH GOTO Label_0001 MOVWF 0x0C MOVF STATUS , W CLRF STATUS MOVWF 0x25 BCF INTCON , T0IF INCF 0x10 , f MOVF 0x10 , W XORLW 0x40 BTFSS STATUS , Z GOTO Label_0002 CLRF 0x11 INCF 0x11 , f CLRF 0x10 Label_0002 BCF STATUS , RP0 BCF PORTB , 06 MOVLW 0x43 MOVWF 0x1D Label_0003 DECFSZ 0x1D , f GOTO Label_0003 BCF STATUS , RP0 BSF PORTB , 06 MOVLW 0x0B MOVWF 0x1D Label_0004 DECFSZ 0x1D , f GOTO Label_0004 BCF STATUS , RP0 BCF PORTB , 05 MOVLW 0x11 MOVWF 0x1D Label_0005 DECFSZ 0x1D , f GOTO Label_0005 BCF STATUS , RP0 BSF PORTB , 05 MOVLW 0x02 SUBWF 0x0D , W BTFSS STATUS , C GOTO Label_0006 MOVLW 0x10 XORWF PORTA , f Label_0006 BCF STATUS , RP0 MOVF 0x25 , W MOVWF STATUS SWAPF 0x0C , f SWAPF 0x0C , W RETFIE Label_0013 MOVWF 0x23 BTFSC 0x24 , 07 GOTO Label_0007 MOVF 0x24 , W MOVWF PCLATH MOVF 0x23 , W INCF 0x23 , f BTFSC STATUS , Z INCF 0x24 , f MOVWF PCL Label_0007 MOVF 0x23 , W INCF 0x23 , f MOVWF FSR MOVF INDF , W RETURN RETLW 0x54 RETLW 0x00 RETLW 0x53 RETLW 0x00 RETLW 0x4D RETLW 0x00 RETLW 0x5A RETLW 0x65 RETLW 0x72 RETLW 0x6F RETLW 0x69 RETLW 0x6E RETLW 0x67 RETLW 0x20 RETLW 0x2E RETLW 0x2E RETLW 0x2E RETLW 0x2E RETLW 0x2E RETLW 0x2E RETLW 0x2E RETLW 0x2E RETLW 0x00 RETLW 0x20 RETLW 0x20 RETLW 0x47 RETLW 0x6F RETLW 0x6C RETLW 0x64 RETLW 0x50 RETLW 0x69 RETLW 0x63 RETLW 0x20 RETLW 0x33 RETLW 0x2E RETLW 0x30 RETLW 0x31 RETLW 0x20 RETLW 0x20 RETLW 0x00 RETLW 0x20 RETLW 0x20 RETLW 0x20 RETLW 0x20 RETLW 0x20 RETLW 0x20 RETLW 0x20 RETLW 0x20 RETLW 0x20 RETLW 0x20 RETLW 0x20 RETLW 0x20 RETLW 0x20 RETLW 0x20 RETLW 0x20 RETLW 0x20 RETLW 0x00 Label_0001 MOVLW 0x0D ------------------ ------------------ ------------------ | |
| |
| | (permalink) |
| The code isn't mine, but it was generated from a HEX file by an old version of my disassembler, notice the date is 1998. | |
| |
| | (permalink) |
| OK Thanks for the reply-this asm is part of G.O.L.D.P.I.C 3.01 metaldetector | |
| |
| | (permalink) | |
| Quote:
| ||
| |
| | (permalink) |
| Nope im sure they are code protected since he started selling them,but the code is known by some people incl me 8) I found this good forum and i saw your posts,so i decided to write-many times ive wondered who is Nigel Goodwin!?Is this code his work? Nice day! | |
| |