Searching \ for '[PIC] Color Please ,Ultraedit.' in subject line. ()
Make payments with PayPal - it's fast, free and secure! Help us get a faster server
FAQ page: massmind.org/techref/microchip/devices.htm?key=pic
Search entire site for: 'Color Please ,Ultraedit.'.

Exact match. Not showing close matches.
PICList Thread
'[PIC] Color Please ,Ultraedit.'
2006\07\18@235754 by John Chung

picon face
If you are using Ultraedit, PIC asm code now has
color. Finally!

http://www.ultraedit.com/index.php?name=Content&pa=showpage&pid=40#wordfiles

John



__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around
http://mail.yahoo.com

2006\07\19@032507 by Alan B. Pearce

face picon face
>If you are using Ultraedit, PIC asm code now has color.

Funny, mine has had colour for PICs for about 6 years now. Even modified the
file to handle Olins .aspic files.

2006\07\19@035133 by John Chung

picon face
Well mine was colored ....... in appropriate places.
Keywords like equ and constant were not colored. I am
using ultraedit 8.1a.

John

--- "Alan B. Pearce" <spam_OUTA.B.PearceTakeThisOuTspamrl.ac.uk> wrote:

> >If you are using Ultraedit, PIC asm code now has
> color.
>
> Funny, mine has had colour for PICs for about 6
> years now. Even modified the
> file to handle Olins .aspic files.
>
> --

2006\07\19@063632 by Jan-Erik Soderholm

face picon face
John Chung wrote :

> Well mine was colored ....... in appropriate places.
> Keywords like equ and constant were not colored. I am
> using ultraedit 8.1a.

Is this the same "UltraEdit32" that I'm using ?
Mine is at version "12.20"...

Jan-Eirk.



2006\07\19@070812 by olin piclist
face picon face
John Chung wrote:
> If you are using Ultraedit, PIC asm code now has
> color. Finally!

Didn't Jan-Erik do this a few years ago?

******************************************************************
Embed Inc, Littleton Massachusetts, (978) 742-9014.  #1 PIC
consultant in 2004 program year.  http://www.embedinc.com/products

2006\07\19@071411 by Michael Rigby-Jones

picon face


>-----Original Message-----
>From: .....piclist-bouncesKILLspamspam@spam@mit.edu [piclist-bouncesspamKILLspammit.edu]
>Sent: 19 July 2006 12:10
>To: Microcontroller discussion list - Public.
>Subject: Re: [PIC] Color Please ,Ultraedit.
>
>
>John Chung wrote:
>> If you are using Ultraedit, PIC asm code now has
>> color. Finally!
>
>Didn't Jan-Erik do this a few years ago?

I don't know who originaly wrote the PIC ASM wordlist, but the Ultraedit web has had hundreds of wordlists (including PIC ASM) available for download ever since I started using it many years ago.  Perhaps the OP means they are putting the PIC ASM wordlist into the default install?

Regards

Mike

=======================================================================
This e-mail is intended for the person it is addressed to only. The
information contained in it may be confidential and/or protected by
law. If you are not the intended recipient of this message, you must
not make any use of this information, or copy or show it to any
person. Please contact us immediately to tell us that you have
received this e-mail, and return the original to us. Any use,
forwarding, printing or copying of this message is strictly prohibited.
No part of this message can be considered a request for goods or
services.
=======================================================================

2006\07\19@075340 by Jan-Erik Soderholm

face picon face
Olin Lathrop wrote :

> John Chung wrote:
> > If you are using Ultraedit, PIC asm code now has
> > color. Finally!
>
> Didn't Jan-Erik do this a few years ago?

Hm, well, I think I took some list I found somewhere and
cleaned it up (removed PIC17 stuff and added PIC18 syntax...)

/Janne.



2006\07\19@081212 by John Chung

picon face
Assembly for PIC was not in the default setting of my
version of ultraedit 8.1a. Anyway just spreading the
good(colorful) news :)

John



{Quote hidden}

=======================================================================
{Quote hidden}

=======================================================================
>
> --

2006\07\19@081534 by John Chung

picon face
I looked at the wordlist again.
file:
ftp://http://www.ultraedit.com/wf/microchipasm.txt
no mention of Jan-Erik

John

--- Olin Lathrop <.....olin_piclistKILLspamspam.....embedinc.com> wrote:

> John Chung wrote:
> > If you are using Ultraedit, PIC asm code now has
> > color. Finally!
>
> Didn't Jan-Erik do this a few years ago?
>
>
******************************************************************
> Embed Inc, Littleton Massachusetts, (978) 742-9014.
> #1 PIC
> consultant in 2004 program year.
> http://www.embedinc.com/products
> --

2006\07\19@082607 by Jan-Erik Soderholm

face picon face
John Chung wrote :

> I looked at the wordlist again.
> file:
> ftp://http://www.ultraedit.com/wf/microchipasm.txt
> no mention of Jan-Erik
>
> John
>
> --- Olin Lathrop <EraseMEolin_piclistspam_OUTspamTakeThisOuTembedinc.com> wrote:
>
> > John Chung wrote:
> > > If you are using Ultraedit, PIC asm code now has
> > > color. Finally!
> >
> > Didn't Jan-Erik do this a few years ago?
> >
> >


Right.

I did that as part of my evaluation of Olin's PIC dev envir.
"My" wordlist was part of the PDF manual i compiled. It
was not available for direct d/l anyware.

Never mind, this as a long time ago (read, "several years")
and my list is probably not rellevant any longer...

Jan-Erik.



2006\07\19@084854 by Alan B. Pearce

face picon face
>I did that as part of my evaluation of Olin's PIC dev envir.
>"My" wordlist was part of the PDF manual i compiled. It
>was not available for direct d/l anyware.
>
>Never mind, this as a long time ago (read, "several years")
>and my list is probably not rellevant any longer...

I know I used a wordlist that was on the Ultraedit site, and it was an old
list then - only had the 12 bit core instructions IIRC, which I modified to
include the newer instructions on the 14 bit core devices and also Olins
macros. I know I have attached it to mails to here at least twice in the
past when people asked what to use as an editor. I just went looking, and it
would be somewhere in 2001 I did it.

2006\07\19@090041 by Xiaofan Chen

face picon face
On 7/19/06, John Chung <kravnusspamspam_OUTyahoo.com> wrote:
> If you are using Ultraedit, PIC asm code now has
> color. Finally!
>
> http://www.ultraedit.com/index.php?name=Content&pa=showpage&pid=40#wordfiles
>

Back in the MPLAB 5.x days, MPLAB editor is not so good. Now
MPLAB editor is good enough for ASM/C editing for PIC development.
I think the reason for using Ultraedit is not as great as before
even though I like the column editing mode and the integrated file
comparator.

Now I do not have access to Ultraedit and I am exploring the
alternatives. Programmer's Notepad / Crimson Editor seem to be
quite okay. Under Linux, I like to use the simple gedit. Not so sure
if it is available for Windows.

Any other recommendations? I'd like the editor to support gcc/
python/MPASM and maybe ARM C compilers and Keil C51.

Regards,
Xiaofan

2006\07\19@094013 by Tamas Rudnai

face picon face
VIM / GVIM ... not easy to learn, but once you get use to it you will never
ever would like to use 'standard' editors for programming. It has millions
of features, syntax highlighting, has console/terminal interface as well as
GUI. I could talk a lot about this but would have been a bit off-topic :-)

Regards,
Tamas





On 19/07/06, Xiaofan Chen <@spam@xiaofancKILLspamspamgmail.com> wrote:
{Quote hidden}

> -

2006\07\19@135624 by Peter

picon face


On Tue, 18 Jul 2006, John Chung wrote:

> If you are using Ultraedit, PIC asm code now has
> color. Finally!

If yo were using vim then PIC (and many other) assemblies would have had
color for about five or six years or so.

Peter

2006\07\19@191848 by Xiaofan Chen

face picon face
On 7/19/06, Tamas Rudnai <RemoveMEtamas.rudnaiTakeThisOuTspamgmail.com> wrote:
> VIM / GVIM ... not easy to learn, but once you get use to it you will never
> ever would like to use 'standard' editors for programming. It has millions
> of features, syntax highlighting, has console/terminal interface as well as
> GUI. I could talk a lot about this but would have been a bit off-topic :-)
>
> Regards,
> Tamas

Installed gvim under Windows once and I do not like it. I do not need
tons of features but it does not seem to support Column Mode editing
(maybe I did not dig deep enough). Under Linux, I still occasionally using
vi in the console but now I prefer pico and still use gedit the most.

Regards,
Xiaofan

2006\07\20@053301 by Tamas Rudnai

face picon face
Of course it works :-) but it is called visual block mode.

Press Ctrl-V on unixes or Ctrl-Q on Windows and use Shift-Arrows or
Shift-Mouse to select your block and then you can use the usual editing
features like 'a' to append, 'i' to insert, or Windows clipboard functions
like Shift-Del or Ctrl-X to remove the block and place cursor somewhere else
then press Shift-Insert or Ctrl-V to put that block there...

See, it is not even as difficult :-)

Kind Regards,
Tamas



On 20/07/06, Xiaofan Chen <spamBeGonexiaofancspamBeGonespamgmail.com> wrote:
{Quote hidden}

> -

2006\07\20@124407 by James Newton, Host

face picon face
>
> Any other recommendations? I'd like the editor to support
> gcc/ python/MPASM and maybe ARM C compilers and Keil C51.
>

I have use asmedit for years now:
http://asmedit.massmind.org which does not come with highlighting for any of
that, but is open source (in MASM, Windows 32 bit assembly (yes, assembly))
and has a config file for highlighting that works pretty well. The assembly
means that it is lightning fast and small. It supports typeahead libraries
that are just massive and many other features that are small but that I have
come to love. It could use some spit and polish in a few areas... But I'm
addicted to the speed.

For a notepad replacement I use edxor or Hutch's quick editor
http://www.movsd.com/qed.htm In a 35k .exe you get all the standard stuff,
plus open 10MB files, a scripting engine, binary search/replace, and a
binary/hex file editor. If I was stranded on an... Well, you get the idea.

Assembly isn't just for PIC's!

---
James Newton: PICList webmaster/Admin
RemoveMEjamesnewtonspamTakeThisOuTpiclist.com  1-619-652-0593 phone
http://www.piclist.com/member/JMN-EFP-786
PIC/PICList FAQ: http://www.piclist.com


2006\07\20@150721 by olin piclist

face picon face
James Newton, Host wrote:
> but is open source (in MASM, Windows 32 bit assembly (yes,
> assembly))

While I think assembly is often a good answer for PICs and other small
processors, I think this is silly.  The x86 compilers are heavily used, very
solid, and do a very good job of optimization.  This editor may be fast, but
I seriously doubt there would be any noticeable difference if it were
competently written in C.

> Assembly isn't just for PIC's!

But it should be, or at least for small resource-limited processors or
otherwise very exceptional cases.  There are a few cases where assembly is
used on PC systems, but they are quite rare for good reason.  The only case
I'm familiar with is a small part of the graphics driver of a major graphics
chip vendor.  This is a piece of code that really can be called 100s of
millions of times when performance is critical.  Assembly allowed making
optimum use of the floating point processor and the new (at the time) MMX
instructions.  Even then, assembly was limited to the 3D floating point
critical path routines.  There just isn't any advantage for "normal" code on
a PC.


******************************************************************
Embed Inc, Littleton Massachusetts, (978) 742-9014.  #1 PIC
consultant in 2004 program year.  http://www.embedinc.com/products

2006\07\20@182516 by Tamas Rudnai

face picon face
Well, yes, C, C++, C# or whatsoever make a nice optimazation, however, they
can't figra out what I would like to do... They will not optimize the
algorithm and so on. If you are good programmer you can help your compiler
to do the best, and if you are a good assembly programmer you can make a
well maitinable source. C++ could be just as un-reusable as anything else.
Whithout a good design it worth just nothing.

Anyway, some excersices:

Compile the following C samples and see what assembly / binary code come
out:

1.
/* problem: checking why the loop ended up? */
char *string = '"This is the test string";
int i;
for ( i  = 0; i < 255; i++) {
   if ( string[i] == 0) {
       break;
   }
}
if (i < 255) {
   printf("OK, we reached the end of the string\n");
}
else {
   ...we need to do domething else here
}


2.
/* problem: you can't rotate an integer using C */
int i = 0x12345678;
int j = i << 3;
int k = i >> 29;
printf("silly rotation: 0x%08X\n", j^k);

OK, you can avoid using some extra variables, but c'mon, most CISC and even
RISC CPUs have assembly rotation instructions...

In addition to this most programmer will not use goto because somebody said
that is bad. But without that your code it getting bigger (safe exits from a
function for example). Some other people claims that try..catch..throw is
very fast, but they do not know what is goin on when they do this -- there
are couple of very good articles about this subject but it is completly
off-topic.

BTW: In the compilers area Borland is far the worth in optimazation. I like
Delphi and Borland C++, but its unfortunately true. Visual C++ quite good at
it actually and GNU C/C++ not bad at all.

Tamas
PS: I have just downloaded AsmEdit 1.50, and it is 6 MB unpacked, and when I
run the setup it says I need additional package. Well, maybe ASM compiler
does not do a good optimazation :-)))



On 20/07/06, Olin Lathrop <olin_piclistEraseMEspam.....embedinc.com> wrote:
{Quote hidden}

> -

2006\07\20@223039 by John Chung

picon face
In most PC application assembly is not required. Less
and less ppl know what is assembly. Thank the Unis for
that. HLL compiler can do a pretty good job but when
it comes to computational stuff like video decoding
and encoding assembly helps. Suprisingly we use quite
a few assembly dll in our machine. From video to audio
playback.

I have to agree with Olin here. When it comes to
calling the UI api, assembly has no advantage here.
There might be *some* improvement but not noticable.
There are functions within the editor that may benefit
from assembly like the *search* function.

John



--- Olin Lathrop <EraseMEolin_piclistspamembedinc.com> wrote:

{Quote hidden}

******************************************************************
> Embed Inc, Littleton Massachusetts, (978) 742-9014.
> #1 PIC
> consultant in 2004 program year.
> http://www.embedinc.com/products
> --

2006\07\21@023305 by Tamas Rudnai

face picon face
The thing is that an HLL can be understand easier for a human. And the
reason is why most programmer do not know what is assembly is that we,
programmers just do not care. Not fit in memory? Buy bigger one! Not fast
enough? Buy faster CPU or a dual CPU, or build a supercomputer.

The same happens here in the PICs world: recently just disassembled a HEX
file which I did not have the source and realised that the whole code was
written in HLL, most possibly in C. The code almost not fit in the 2K
program memory, and I started to thinking how could I rewrite it, it seems
that 256 prg mem would be ok for the same job. But who cares? The bigger PIC
is only few cents more expensive...

It is also comparable to the electronics design: Let's say you would like to
produce an mp3 player that stores files in a flash, play mp3 in it and you
can upload the files using USB, right? In low level point of view (assembly)
you have to design the whole: how to decode mp3 music, how to connect to the
usb port, read lot of docs on mp3 decodings, fat filesystem, usb stuff etc.
In high level point of view: you buy the mp3 decoder chip and the usb
capable PIC and basically that's it, just have to put the things together.
Like a configurator, not a developer.

Tamas


On 21/07/06, John Chung <RemoveMEkravnusEraseMEspamEraseMEyahoo.com> wrote:
{Quote hidden}

2006\07\21@075538 by olin piclist

face picon face
Tamas Rudnai wrote:
> But who cares? The bigger PIC is only few cents more expensive...

This is an incorrect generalization because you are fogetting that the
majority of PICs are sold into high volume designs.  The difference between
a 512 word and 2K word PIC can be substantial in cost and board area, and in
some cases can make the difference between having a viable product or none
at all.

If what you are saying was true then there'd be no point to a 10F200, for
example.  We should always use a 18F2520 or 30F6010 for all projects.


******************************************************************
Embed Inc, Littleton Massachusetts, (978) 742-9014.  #1 PIC
consultant in 2004 program year.  http://www.embedinc.com/products

2006\07\21@080832 by John Chung

picon face


--- Tamas Rudnai <RemoveMEtamas.rudnaiTakeThisOuTspamspamgmail.com> wrote:

> The thing is that an HLL can be understand easier
> for a human. And the
> reason is why most programmer do not know what is
> assembly is that we,
> programmers just do not care. Not fit in memory? Buy
> bigger one! Not fast
> enough? Buy faster CPU or a dual CPU, or build a
> supercomputer.
>
 The thing is that the brain is limited. Can you
remember all the details of each arch. that you work
on? I can remember x86 and PIC(most of the general
stuff). But other arch like AVR I tend not to
remember. Why? Hardly see the need to work with them
for long. So memorizing them and their instruction set
is not important for me. HLL makes it a LOT easier to
work with multiple arch. out there. Don't need to
remember all the assembly for each arch out there.
Phew!

{Quote hidden}

 Well yes but 2,000,000 unit x 0.05(possible savings)
= a lot of money!
At low volume I tend to stick with HLL if possible.


{Quote hidden}

 .......... easier life :)

John
{Quote hidden}

******************************************************************
> > > Embed Inc, Littleton Massachusetts, (978)
> 742-9014.
> > > #1 PIC
> > > consultant in 2004 program year.
> > > http://www.embedinc.com/products
> > > --
>

2006\07\21@083913 by Tamas Rudnai

face picon face
>
>
> If what you are saying was true then there'd be no point to a 10F200, for
> example.  We should always use a 18F2520 or 30F6010 for all projects.


Actually just about to make a tiny stuff for my RC airplanes using 10F200...
using assembly but reaching the limitation of the program memory, so may
have to move to 10F202 instead :-)

Maybe I have to open a new topic on how do you measure pulse with modulation
signal between 1-2 ms reliable using 10F200 :-)

Tamas

2006\07\21@084556 by Tamas Rudnai

face picon face
On 21/07/06, John Chung <kravnusSTOPspamspamspam_OUTyahoo.com> wrote:
>
> The thing is that the brain is limited. Can you
> remember all the details of each arch. that you work
> on? I can remember x86 and PIC(most of the general
> stuff). But other arch like AVR I tend not to
> remember. Why? Hardly see the need to work with them
> for long. So memorizing them and their instruction set
> is not important for me. HLL makes it a LOT easier to
> work with multiple arch. out there. Don't need to
> remember all the assembly for each arch out there.
> Phew!


I know, I can still remember to Motorola 6502 but have some trouble with
recalling PDP 11 assembly :-)

But still, if you use C for PIC programming, can you make a cross-PIC code
that measures digital signals, A/D conversions, USB access so that you can
compile / put that program to many different chips? I have never seen PIC
independent program, but pretty much interested, if there is any articles
and/or sources codes?

Thanks,
Tamas

2006\07\21@101703 by olin piclist

face picon face
Tamas Rudnai wrote:
> Maybe I have to open a new topic on how do you measure pulse with
> modulation signal between 1-2 ms reliable using 10F200 :-)

You could set the timer 0 prescaler to 8, which would result in 125
increments in 1mS.  There is a 3 cycles uncertainty in measuring the start
of the pulse and another 3 cycles measuring the end, for a total of 6uS
error.  It looks like overall you get about 1% accuracy.  I imagine that's
good enough for many applications, especially if this part is inside a
higher level control feedback loop.


******************************************************************
Embed Inc, Littleton Massachusetts, (978) 742-9014.  #1 PIC
consultant in 2004 program year.  http://www.embedinc.com/products

2006\07\21@103709 by Tamas Rudnai

face picon face
That would be ok for me, however, the max length of the signal is around 2
ms, so I would like to set up a timeout around 2.2-2.5 ms. Also it would be
quite the end of the measurement if leave it as 8. Now if I have the scaler
at 16, then I would loose some precise measurement what is the exact length
(I have to be able to repeat that width later on). So if divide 125 by 2, 62
is might not be so precise.

Other problem of mine is that 10F200 does not have interrupt, so when times
up I could not increment a higher value, can I? Because if the scaler is too
short, then I might miss the 0 state of the TMR0 register. Maybe I just
missed the point, so that's why I would need your opinion.

Thanks,
Tamas



On 21/07/06, Olin Lathrop <spamBeGoneolin_piclistSTOPspamspamEraseMEembedinc.com> wrote:
{Quote hidden}

> -

2006\07\21@121429 by olin piclist

face picon face
Tamas Rudnai wrote:
> That would be ok for me, however, the max length of the signal is
> around 2 ms,

But you said that the minimum length is 1mS, so you are only really
measuring 1 mS.  You measure the length of the pulse, which in theory gets
you 125 to 250, then subtract off the 125 fixed part.  I would do a check
for large values above 200 or so that are really negative in this context
(pulse was shorter than 1mS) and clip the resulting value to 0.


******************************************************************
Embed Inc, Littleton Massachusetts, (978) 742-9014.  #1 PIC
consultant in 2004 program year.  http://www.embedinc.com/products

2006\07\21@122530 by John Chung

picon face
I assume that you mean by PIC independant code? If so
you use wrappers around it. That is how I would
attempt it. In short, don't use the memory directly
but use an identifier for it which can be reassigned
to other values for diff. PIC.

John

PS: Such function like A/D conversion may require you
to evaluate the machine code for the function in your
HLL that use it. The acqusition and conversion time
needs to be taken into account. HLL can do it well but
needs tender care :(



{Quote hidden}

> --

2006\07\21@124659 by Tamas Rudnai

face picon face
I see, so measure the min time, if the pulse reaches the min time start the
measuring from that point.. not a bad idea, thanks!

BTW: If I clrf TMR0 then the doc says the time scaler cleared out as well.
What is the point of that?

Thanks,
Tamas



On 21/07/06, Olin Lathrop <KILLspamolin_piclistspamBeGonespamembedinc.com> wrote:
{Quote hidden}

> -

2006\07\21@125029 by Tamas Rudnai

face picon face
I agree, but using cblock, equ, call-retlw (functions), macros etc.. I can
do the same with asm, can't I? So that if the asm program well structured
and designed to port to other PICs in mind then it is pretty much the same
as using macros and functions / libraries for HLL, isn't it?

Tamas


On 21/07/06, John Chung <EraseMEkravnusspamEraseMEyahoo.com> wrote:
{Quote hidden}

2006\07\21@141740 by John Chung

picon face
Yes you have the idea there. Macros and libraries that
are well written will help a lot when comes to
porting.
Some chip dependant code may require some tweaking but
it should be a change of value only. Usually in the
definition file... Some of the assembly code here is
pretty advance so you may want to write a template and
explore from there. The best way is try 14F,16F and
than 18F. Some issue have to kept in mind like bank
and page selection.

John

--- Tamas Rudnai <@spam@tamas.rudnai@spam@spamspam_OUTgmail.com> wrote:

{Quote hidden}

>

2006\07\21@150028 by olin piclist

face picon face
Tamas Rudnai wrote:
> I see, so measure the min time, if the pulse reaches the min time start
> the measuring from that point.. not a bad idea, thanks!

That's not what I said at all.  Measure the whole pulse, then subtract 125
afterwards.


******************************************************************
Embed Inc, Littleton Massachusetts, (978) 742-9014.  #1 PIC
consultant in 2004 program year.  http://www.embedinc.com/products

More... (looser matching)
- Last day of these posts
- In 2006 , 2007 only
- Today
- New search...