![]() | ![]() | ![]() |
| |||||||
| Micro Controllers Discuss all aspects of micro controllers - building them, coding them, etc. All controllers are welcome - PIC, BASIC, Z8 Encore!, etc. |
![]() |
| | Tools |
| | #1 |
|
I'm having trouble finding the all the commands that are used in the programming of a PIC 16F627A/628A. Is there somewhere I can find a more complete list of commands that are used to program PICs?
__________________ This is the way the world ends, This is the way the world ends, This is the way the world ends, Not with a BANG But with a BELCH BURRRRRRRRRRPPPPPPP Last edited by skeeterb; 8th January 2009 at 09:21 PM. Reason: Taking out unneeded info | |
| |
| | #2 |
|
Currently all the 14bit core PICs like the 16F627A have the same 33 instructions as every other 16F PIC. There are newer ones coming that have 43 instructions. Download my Firefly manual as it has the 14bit instruction set done in color including the SFRs for the 16F88 For your state machine why not just download and try out PIC BASIC Pro (the free version) much easier than assembly for getting started. Last edited by blueroomelectronics; 8th January 2009 at 09:24 PM. | |
| |
| | #3 | |
| Quote:
__________________ ========================= Futz's Microcontrollers & Robotics ========================= | ||
| |
| | #4 |
| How can you have trouble?, they are listed in the datasheet for every PIC.
| |
| |
| | #5 |
|
I didn't know I'm totally new to working with microcontrollers. I realized my circuit is gonna have to be edited after thinking about the way the inputs and outputs are wired in my circuit, and I'm gonna have to rip up the current routing on the PCB that I have designed to fix the changes.
__________________ This is the way the world ends, This is the way the world ends, This is the way the world ends, Not with a BANG But with a BELCH BURRRRRRRRRRPPPPPPP | |
| |
| | #6 |
|
Looking over the data sheet for the chip, and I think I got some of the commands, but its the memory registers to use for my simple logic that eludes me. It only uses 2 inputs and 5 outputs, one leading to the relay to the output and 3 LEDs. How would I go about finding what memory registers to use in my program? Circuit Logic Upper + Lower = 1; Operation = 1; Warn = 0; Refill = 0 Upper = 0; Lower = 1; Operation = 1; Warn = 1; Refill = 0 Upper = 0; Lower = 0; Operation = 0; Warn = Flashing; Refill =1
__________________ This is the way the world ends, This is the way the world ends, This is the way the world ends, Not with a BANG But with a BELCH BURRRRRRRRRRPPPPPPP Last edited by skeeterb; 9th January 2009 at 05:27 AM. | |
| |
|
| Tags |
| commands, pic, programming |
| Thread Tools | |
| Display Modes | |
| |
Similar | ||||
| Title | Starter | Forum | Replies | Latest |
| c18 commands | parts-man73 | Micro Controllers | 2 | 29th September 2008 05:54 PM |
| Need help !! If commands in asm file | rukshankb | Micro Controllers | 1 | 22nd September 2007 05:15 PM |
| Cellular AT Commands | mayo | General Electronics Chat | 4 | 28th June 2006 09:45 PM |
| AT COmmands of GSM | mowri | Electronic Projects Design/Ideas/Reviews | 2 | 3rd February 2006 06:24 PM |
| commands | Gaston | Micro Controllers | 2 | 9th April 2005 09:12 AM |