|
Welcome to the GSM-Forum forums. You are currently viewing our boards as a guest which gives you limited access to view most discussions and access our other features. Only registered members may post questions, contact other members or search our database of over 8 million posts. Registration is fast, simple and absolutely free so please - Click to REGISTER! If you have any problems with the registration process or your account login, please contact contact us . |
|
Register | FAQ | Donate | Forum Rules | Root any Device | ★iPhone Unlock★ | ★ Direct Codes ★ | Direct Unlock Source |
GSM Programming & Reverse Engineering Here you can post all Kind of GSM Programming and Reverse Engineering tools and Secrets. |
| LinkBack | Thread Tools | Display Modes |
12-12-2005, 15:07 | #2 (permalink) |
No Life Poster Join Date: Nov 2001 Location: England Age: 41
Posts: 2,821
Member: 7653 Status: Offline Thanks Meter: 823 | enjoy this: Code: goto lbl_1 ; lbl_1 = 0x19 ORG 0x4 goto lbl_2 ; lbl_2 = 0x5 lbl_2 bcf intcon,gie bcf intcon,t0if incf 0x11,f btfsc status,z goto lbl_3 ; lbl_3 = 0xC lbl_5 clrf tmr0 retfie lbl_3 clrf 0x11 incf 0x12,f btfsc status,z goto lbl_4 ; lbl_4 = 0x11 goto lbl_5 ; lbl_5 = 0xA lbl_4 btfsc 0xC,2 goto lbl_6 ; lbl_6 = 0x14 goto lbl_7 ; lbl_7 = 0x2C lbl_6 clrf 0x12 incf 0x21,f btfsc status,z goto lbl_7 goto lbl_5 lbl_1 clrf intcon bsf status,rp0 ; switch to bank 1 movlw 80 ; d'128' b'10000000' a'' movwf option_reg movlw DF ; d'223' b'11011111' a'' movwf trisb movlw 1C ; d'28' b'11100' a'¶' movwf trisa bcf status,rp0 ; switch to bank 0 clrf 0xC clrf 0x19 clrf 0x20 bcf porta,0 bcf porta,1 bsf portb,5 call lbl_8 ; lbl_8 = 0xAF bsf porta,0 bsf porta,1 goto lbl_7 lbl_7 bsf porta,0 call lbl_9 ; lbl_9 = 0xAC bcf porta,0 call lbl_9 bsf porta,0 call lbl_10 ; lbl_10 = 0xFA call lbl_8 bcf porta,0 btfsc 0xC,1 goto lbl_11 ; lbl_11 = 0x6B lbl_16 btfss portb,4 call lbl_12 ; lbl_12 = 0x5B btfsc porta,3 goto lbl_13 ; lbl_13 = 0x40 btfss portb,1 goto lbl_11 call lbl_14 ; lbl_14 = 0x4E btfsc status,z call lbl_15 ; lbl_15 = 0x55 goto lbl_16 ; lbl_16 = 0x36 lbl_13 btfsc porta,3 goto lbl_13 movlw AB ; d'171' b'10101011' a'' movwf 0x18 lbl_17 call lbl_9 call lbl_9 bcf porta,1 call lbl_9 call lbl_9 bsf porta,1 decf 0x18,f btfss status,z goto lbl_17 ; lbl_17 = 0x44 goto lbl_16 lbl_14 incf 0x19,f btfsc status,z call lbl_18 ; lbl_18 = 0x52 return lbl_18 clrf 0x19 incf 0x20,f return lbl_15 bcf porta,1 call lbl_9 clrf 0x19 clrf 0x20 bsf porta,1 return lbl_12 call lbl_19 ; lbl_19 = 0x91 btfss 0xC,1 call lbl_8 call lbl_20 ; lbl_20 = 0xF0 movlw 48 ; d'72' b'1001000' a'H' call lbl_21 ; lbl_21 = 0xC5 call lbl_22 ; lbl_22 = 0xF5 movlw 3 ; d'3' b'11' a'¶' movwf 0x13 movlw 4F ; d'79' b'1001111' a'O' movwf 0x14 movlw 20 ; d'32' b'100000' a'¶' movwf 0x15 call lbl_23 ; lbl_23 = 0x115 call lbl_24 ; lbl_24 = 0x9A return lbl_11 bsf 0xC,1 bcf porta,1 call lbl_20 movlw 44 ; d'68' b'1000100' a'D' call lbl_21 movlw 54 ; d'84' b'1010100' a'T' call lbl_21 clrf eeadr lbl_27 call lbl_25 ; lbl_25 = 0xA8 movf eedata,w call lbl_21 movlw 3B ; d'59' b'111011' a';' subwf eedata,w btfsc status,z goto lbl_26 ; lbl_26 = 0x7C incf eeadr,f goto lbl_27 ; lbl_27 = 0x73 lbl_26 call lbl_22 call lbl_8 call lbl_8 call lbl_8 call lbl_8 call lbl_8 movlw 3 ; d'3' b'11' a'¶' movwf 0x13 movlw 4F ; d'79' b'1001111' a'O' movwf 0x14 movlw 20 ; d'32' b'100000' a'¶' movwf 0x15 call lbl_19 bsf 0xC,2 call lbl_23 call lbl_24 bcf 0xC,2 call lbl_12 bsf porta,1 bcf 0xC,1 goto lbl_16 lbl_19 clrf tmr0 clrf 0x11 clrf 0x12 movlw FA ; d'250' b'11111010' a'' movwf 0x21 bcf 0xC,2 bsf intcon,t0ie bsf intcon,gie return lbl_24 clrf intcon return bsf status,rp0 ; switch to bank 1 bsf eecon1,wren movlw 55 ; d'85' b'1010101' a'U' movwf eecon2 movlw AA ; d'170' b'10101010' a'' movwf eecon2 bsf eecon1,wr lbl_28 btfsc eecon1,wr goto lbl_28 ; lbl_28 = 0xA3 bcf eecon1,wren bcf status,rp0 ; switch to bank 0 return lbl_25 bsf status,rp0 ; switch to bank 1 bsf eecon1,rd bcf status,rp0 ; switch to bank 0 return lbl_9 movlw 30 ; d'48' b'110000' a'0' movwf 0xF goto lbl_29 ; lbl_29 = 0xB1 lbl_8 movlw FF ; d'255' b'11111111' a'' movwf 0xF lbl_29 decfsz 0xF,f goto lbl_30 ; lbl_30 = 0xB4 return lbl_30 movlw FF ; d'255' b'11111111' a'' movwf 0x10 lbl_31 decfsz 0x10,f goto lbl_31 ; lbl_31 = 0xB6 goto lbl_29 lbl_39 movlw 14 ; d'20' b'10100' a' ' movwf 0x17 goto lbl_32 ; lbl_32 = 0xC2 lbl_41 movlw 24 ; d'36' b'100100' a'$' movwf 0x17 goto lbl_32 lbl_33 movlw 27 ; d'39' b'100111' a''' movwf 0x17 goto lbl_32 lbl_32 decfsz 0x17,f goto lbl_32 return lbl_21 movwf 0xD bcf portb,5 movlw 8 ; d'8' b'1000' a'¶' movwf 0x16 call lbl_33 ; lbl_33 = 0xBF lbl_36 btfsc 0xD,0 goto lbl_34 ; lbl_34 = 0xCE bcf portb,5 goto lbl_35 ; lbl_35 = 0xCF lbl_34 bsf portb,5 lbl_35 rrf 0xD,f call lbl_33 decfsz 0x16,f goto lbl_36 ; lbl_36 = 0xCA goto lbl_37 ; lbl_37 = 0xD4 lbl_37 bsf portb,5 call lbl_33 call lbl_33 return lbl_44 bsf 0xC,0 btfsc portb,4 goto lbl_38 ; lbl_38 = 0xED call lbl_39 ; lbl_39 = 0xB9 movlw 8 ; d'8' b'1000' a'¶' movwf 0x16 goto lbl_40 ; lbl_40 = 0xDF lbl_40 call lbl_41 ; lbl_41 = 0xBC btfss portb,4 goto lbl_42 ; lbl_42 = 0xE4 bsf 0xE,7 goto lbl_43 ; lbl_43 = 0xE5 lbl_42 bcf 0xE,7 lbl_43 decfsz 0x16,w rrf 0xE,f decfsz 0x16,f goto lbl_40 call lbl_41 btfss portb,4 goto lbl_38 return lbl_38 clrf 0xE bcf 0xC,0 return lbl_20 movlw 41 ; d'65' b'1000001' a'A' call lbl_21 movlw 54 ; d'84' b'1010100' a'T' call lbl_21 return lbl_22 movlw D ; d'13' b'1101' a'¶' call lbl_21 movlw A ; d'10' b'1010' a'¶' call lbl_21 return lbl_10 call lbl_19 call lbl_20 movlw 5A ; d'90' b'1011010' a'Z' call lbl_21 call lbl_22 movlw 7 ; d'7' b'111' a'¶' movwf 0x13 movlw 4F ; d'79' b'1001111' a'O' movwf 0x14 movlw 18 ; d'24' b'11000' a'¶' movwf 0x15 call lbl_23 call lbl_20 movlw 45 ; d'69' b'1000101' a'E' call lbl_21 movlw 30 ; d'48' b'110000' a'0' call lbl_21 call lbl_22 movlw 8 ; d'8' b'1000' a'¶' movwf 0x13 movlw 4F ; d'79' b'1001111' a'O' movwf 0x14 movlw 18 ; d'24' b'11000' a'¶' movwf 0x15 call lbl_23 call lbl_24 return lbl_23 clrf 0x18 lbl_45 call lbl_44 ; lbl_44 = 0xD8 btfss 0xC,0 goto lbl_45 ; lbl_45 = 0x116 incf 0x18,f movf 0x13,w subwf 0x18,w btfsc status,z goto lbl_46 ; lbl_46 = 0x11F goto lbl_45 lbl_46 movf 0x14,w subwf 0xE,w btfss status,z goto lbl_7 clrf 0x18 lbl_48 movf 0x15,w subwf 0x18,w btfsc status,z goto lbl_47 ; lbl_47 = 0x12B call lbl_41 incf 0x18,f goto lbl_48 ; lbl_48 = 0x124 lbl_47 call lbl_41 return ORG 0x2007 addlw F1 ; d'241' b'11110001' a'' |
12-12-2005, 22:39 | #4 (permalink) |
Freak Poster Join Date: May 2003 Location: Poland Age: 36
Posts: 233
Member: 29897 Status: Offline Thanks Meter: 3 | Compiler ?? How you need to see program for 8bit Microchip microcontroller. Just look in the internet for PIC assembler course. You can learn it in one hour to understand this code. |
12-13-2005, 10:40 | #5 (permalink) |
No Life Poster Join Date: Dec 2003 Location: BiH
Posts: 900
Member: 45427 Status: Offline Thanks Meter: 141 | Tnx TNX to Dave W. & adihack I have one project, call alarm. First I wana see what how my competition work. I have many HEX from many project and from many device (read from PIC). Now I wana see what is inside (in hex) and build one my hex. If I understad, I nead assembler for make sorce code for PIC (hex) and diassembler for extract hex in source code. And whay I can not make sorce code for PIC in this: http://www.mikroelektronika.co.yu/en...uct/compilers/ P.S.Please more gudie |
12-14-2005, 12:50 | #6 (permalink) |
No Life Poster Join Date: Nov 2001 Location: England Age: 41
Posts: 2,821
Member: 7653 Status: Offline Thanks Meter: 823 | for the PIC, i only know ASeMbly, not Compiler. i was never taught that.. it is not so hard to learn anyway, only a few commands to know. first you must get some basic rules learned. like bank selection, port setup for input/output, ORGanisation, interupts, clock timers. all you can find on some webpages. these rule apply to all kinds of PIC. next you must find the data sheet for the PIC you work on. all PIC's use slightly different instruction set and have different rules for setup. u can write the source codes in standard notepad, or there is other nice text editors online. once you wrote the source, you must ASeMble it using an assembler. yo can get free MPLAB assembler, i thnk on www.microchip.com after this, you can test your program to reverse someones HEX, you must find disassembler for the correct PIC type. 16F84 dissasembler very easy to find online.. good luck |
12-14-2005, 12:53 | #7 (permalink) |
No Life Poster Join Date: Nov 2001 Location: England Age: 41
Posts: 2,821
Member: 7653 Status: Offline Thanks Meter: 823 | the links in mikrelektronika site are different compilers for PIC. only usefull if you know the language already: C, pascal or basic. i suggest you forget about those for now, just learn assembly. it is very easy and fast to write, your programs will have less dense code and run faster. plus when you can write in it, you can now reverse others work very easy |
02-01-2011, 16:04 | #11 (permalink) | |
No Life Poster Join Date: May 2008 Location: PAKISTAN Age: 34
Posts: 867
Member: 772820 Status: Offline Sonork: BE MASTERMIND Thanks Meter: 124 | in wich language? Quote:
| |
02-01-2011, 18:55 | #13 (permalink) |
Freak Poster Join Date: May 2010 Age: 35
Posts: 182
Member: 1300364 Status: Offline Thanks Meter: 23 | pic mcu c compiler CCS_PICC_CP_4084.rar |
02-02-2011, 09:41 | #14 (permalink) |
No Life Poster Join Date: Nov 2001 Location: England Age: 41
Posts: 2,821
Member: 7653 Status: Offline Thanks Meter: 823 | I don't know about this mediafire link, I would only download microchip tools direct from Microchip website. this way you have latest and offical tools: Microchip Technology Inc. is a Leading Provider of Microcontroller and Analog Semiconductors, providing low-risk product development, lower total system cost and faster time to market for thousands of diverse customer applications worldwide. If you need C compiler, check out HITECH C compiler - free version. |
The Following User Says Thank You to Dave.W For This Useful Post: |
Bookmarks |
| |
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Sagem hex,C100 clips&hex,A800 hex,BP & Ford calc hex and much more | Invisible | Main Sales Section | 0 | 10-17-2003 18:00 |
Decompiled DejanHEX | VsH-GsM | Nokia Legacy Phones ( DCT-1 ,2 ,3 ,L ) | 3 | 02-16-2002 21:26 |
DECOMPILED DEJAN HEX | GSMWIZARD | Nokia Legacy Phones ( DCT-1 ,2 ,3 ,L ) | 0 | 02-12-2002 23:35 |
Need Visual Basic 5.0 decompiler... | OrbiTel | Off Topic Zone | 2 | 07-24-2001 08:17 |
HexEditor+Decompiler | Ashwani Gaur | Universal GSM Software | 2 | 03-19-2001 13:09 |
|