Electronic Projects, forums and more.

Go Back   Electronic Circuits Projects Diagrams Free > Electronics Categories > Micro Controllers


Micro Controllers Discuss all aspects of micro controllers - building them, coding them, etc. All controllers are welcome - PIC, BASIC, Z8 Encore!, etc.

Reply
 
Thread Tools Display Modes
Old 23rd June 2007, 03:34 PM   (permalink)
Default

hi,
My original post to you reads:
I dont normally use the 'shorthand' symbols, didnt recognise it.
How do you feel about the use of these symbols in your coding?.
I have always been advised not to use them as their meanings can vary from one asm to another?.


It was necessary to use the expression
"I dont normally use the 'shorthand' symbols"
If I had said,
"I dont normally use the 'assembler directives"........... that would be incorrect.

"How do you feel about the use of these symbols in your coding?."
No where do I say its 'code'.
Many engineers refer to the 'Source Code' as 'coding' or 'code listing'.

Extract from MPLAB:
Directives are assembler commands that appear in the source code but are not usually translated directly into opcodes. They are used to control the assembler: its input, output, and data allocation


"I have always been advised not to use them as their meanings can vary from one asm to another?."
Extract from MPLAB:
Many of the assembler directives have alternate names and formats. These may exist to provide backward compatibility with previous assemblers from Microchip and to be compatible with individual programming practices. If portable code is desired, it is recommended that programs be written using the specifications contained here.

Your Reply:
For that matter I don't see how correcting an error, which will only cause confusion, is in any way 'not straight' either. While you knew what you meant, and I knew what you meant, a beginner wouldn't know what you meant - so it's important to be accurate!.

Extract from your Tutorials:
For the full code, with the equates, variable declarations and look-up table, consult the code for the examples below.

As I have said before I dont mind constructive criticism, but what does irritate is 'nit picking' to score brownie points.
__________________
Eric
"Good enough is Perfect"

PIC tutorials:
Gramo's: www.digital-diy.net/
Bill's: www.blueroomelectronics.com/

Last edited by ericgibbs; 23rd June 2007 at 04:10 PM.
ericgibbs is offline   Reply With Quote
Old 24th June 2007, 06:51 AM   (permalink)
Default

the oneMhz is fixed number and equ to .1000000/.200
which is the high oneMhz , and which is the low oneMhz
savnik is offline   Reply With Quote
Old 24th June 2007, 12:29 PM   (permalink)
Default

Quote:
Originally Posted by savnik
the oneMhz is fixed number and equ to .1000000/.200
which is the high oneMhz , and which is the low oneMhz
The higher one is the top 8 bits (of the 16 bit value) and the lower one if the bottom 8 bits.
__________________
PIC programmer software, and PIC Tutorials at:
http://www.winpicprog.co.uk
Nigel Goodwin is offline   Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Latest
LCD Display/Computer USB Interface software. MrMikey83 General Electronics Chat 6 27th February 2006 06:33 AM
n00b with a tail light query cantfindausername Electronic Projects Design/Ideas/Reviews 12 15th August 2005 08:19 AM
amplifier Query monkeytree General Electronics Chat 1 25th April 2005 09:11 PM
Query on Infra Red sensor lil'gal Robotics Chat 3 4th February 2005 02:33 AM
hello all and can some one please help with capacitor query trippy_zippy General Electronics Chat 3 17th June 2004 01:14 PM



All times are GMT. The time now is 12:35 AM.


Electronic Circuits  |  Electronics Wiki
Powered by vBulletin® Version 3.7.0
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.