How Convert a Hex Code to a ASM???


Closed Thread
Results 1 to 12 of 12

Hybrid View

  1. #1
    Join Date
    Feb 2006
    Location
    Gilroy, CA
    Posts
    1,530


    Did you find this post helpful? Yes | No

    Default

    Looks like flood detector code to me. 12F683

    http://www.electronics-lab.com/projects/sensors/006/
    http://www.scalerobotics.com

  2. #2
    Join Date
    Jun 2005
    Location
    Surrey, England
    Posts
    35


    Did you find this post helpful? Yes | No

    Default

    Quote Originally Posted by scalerobotics View Post
    Looks like flood detector code to me. 12F683

    http://www.electronics-lab.com/projects/sensors/006/
    It is - and it decodes as typical PicBasic code - a sample of lines follows:
    Code:
    	processor 12F683
    	Radix DEC
    #include "P12F683.INC"
    	__CONFIG 0x3CDC
    	ERRORLEVEL -302
    
    	ORG 0000H
    	GOTO   L00D7H
    ...
    L00D7H:
    	BSF    STATUS,RP0
    	MOVLW  007EH
    	MOVWF  OSCCON
    	CLRF   OSCTUNE
    	BCF    STATUS,RP0
    	MOVLW  0007H
    	MOVWF  CMCON0
    	CLRF   CCP1CON
    	CLRF   T1CON
    etc - in fact the Hex code is freely offered, and converting to assembler is trivial - I used Real Pic Simulator here. But why would you want it as ASM?
    Last edited by FinchPJ; - 21st January 2011 at 22:13.

  3. #3
    Join Date
    Nov 2007
    Location
    West Covina, CA
    Posts
    219


    Did you find this post helpful? Yes | No

    Default WT?

    Quote Originally Posted by scalerobotics View Post
    Looks like flood detector code to me. 12F683

    http://www.electronics-lab.com/projects/sensors/006/
    How the heck did you find that!!???
    Louie

  4. #4
    Join Date
    Sep 2004
    Location
    montreal, canada
    Posts
    6,898


    Did you find this post helpful? Yes | No

    Post

    once a hex is posted on a web page it's easy to find it depending the "Search tool" you're using and HOW you use it
    Steve

    It's not a bug, it's a random feature.
    There's no problem, only learning opportunities.

  5. #5
    Join Date
    Feb 2006
    Location
    Gilroy, CA
    Posts
    1,530


    Did you find this post helpful? Yes | No

    Default

    Quote Originally Posted by LinkMTech View Post
    How the heck did you find that!!???
    I would like to say, cunning, blah blah. But, no, it was Google and a little luck. With a single (42 character) line of the hex code for a search, only one real result.

    Anyway, he is probably better off modifying one of Steve's capacitive lamp switches. (without the 120 volts of course).

    Edit: Aw Steve! You told the secret!
    Last edited by ScaleRobotics; - 25th January 2011 at 01:37.
    http://www.scalerobotics.com

  6. #6
    Join Date
    Sep 2004
    Location
    montreal, canada
    Posts
    6,898


    Did you find this post helpful? Yes | No

    Default

    Edit: Aw Steve! You told the secret!

    http://lmgtfy.com/?q=%3A10000000D728...A00083161F0897
    Last edited by mister_e; - 25th January 2011 at 01:40.
    Steve

    It's not a bug, it's a random feature.
    There's no problem, only learning opportunities.

Members who have read this thread : 1

You do not have permission to view the list of names.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts