In Assembler, I always like to use GOTO $+1 for small inline delays, which delays 2 cycles with one instruction. But in Jal its kinda hard to do this. It'll be...
I'm agree, many times I need "goto 0" , goto $+x is not such a pain as we have assembler labels....
Vasile Surducan
vasile@...
Mar 1, 2002 8:58 am
3831
It's a good one, Vasile.... :)))) Gum ... Van: Vasile Surducan [mailto:vasile@...] Verzonden: vrijdag 1 maart 2002 9:02 Aan: jallist@yahoogroups.com...
thank you all guys, Javi, you enlightend one of my problems, "pin_b3 = high" gives quiet different results from "asm bsf portb,3". Jeethu, that's really an...
Is it possible to declare delay_2us global (see below) ? or must delay_2us and the call to it always be in the same <assmembler> <end assembler> tags ?? Stef...
... No ... Yes ... Sorry Stef, but I have no idea how it can be done. Regards, Javi [P.S.] I'll think on it this wekend....
Javi
japus11@...
Mar 1, 2002 1:21 pm
3835
... A Microchip PIC executes an instruction in 4 clock cycles, except when the program counter changes: 8 cycles. An SX executes an instruction in 1 clock ...
... Assembler labels are always local, but a procedure is a global label which you can call. But note that on PICs with code pages you must set the code page...
... usec! ... The problem is not so much the delay, but the fact that you don't know how much time it takes to execute for instance <jal> pin_a0 = on </jal>....
... I think very short delays are best done is assembly. How about <jal> include inline_delay_1us </jal> where the file inline_delay_1us contains the...
Anyone knows how can i write something to ona address in one eeprom 24c128, i know that i have to use de i2c library but i dont knwo how to write something. If...
Forum-Robot@...
Mar 1, 2002 2:22 pm
3841
Hi there ... anyone using Jal under linux? Is there a way to set a path for the libraries? Putting them under /usr/local/lib did not really help. I strace'ed...
Giray Devlet
giray@...
Mar 1, 2002 5:44 pm
3842
special for Jalliens who have too much time, I've created some time-consuming JAL routines, you can download them here ...
Hey Stef, you do it !! To delay a 1us I'll insert "#include delay_1us_20mc" wherenever I need this delay. It's simply and the best way! Thanks ! & Regards, ...
Javi
japus11@...
Mar 4, 2002 6:21 am
3845
Hi all! ... People usually say sorry for delays... but these new delays are indeed welcome. Good work, and best regards, Edwin...
assembler local delay page delay Stef, have you tested the correct jump for "page delay" ? It wasn't better "pragma keep bank, page" ? best, Vasile...
Vasile Surducan
vasile@...
Mar 4, 2002 10:06 am
3847
This is the Jallist bi-weekly info message. JAL is a free language (compiler) for the Microchip 16f84 and Scenix SX microcomputers available from the <A...
jallist@yahoogroups.com
Mar 4, 2002 10:33 am
3848
... No, there is only the -s (search) option. But (depending on your shell) you could make jal an alias or a shell script for '/wherever/it/is/jal...
Vasile, ... My english isn't very good, but I assume you mean "Wasn't it better to use ..." In that case, (to be honest) I really don't know !! I guess both...
hi All, In extending some shift / rotate routines, I'd like to use default parameters, like <JAL> procedure byte3_SRR ( bit in rotate = false, byte in N = 1 )...
... could you exchange the formal parameters? <JAL> procedure byte3_SRR ( byte in N = 1, bit in rotate = false ) is </JAL> now you can call <JAL> byte3_SRR ( 3...
Hi Stef, After Vasile's email, I've taken a view to your delay_1us library. I've computed 6 cycles (1.2us) instead of 0.8us. But why 0.8 us for a 1us delay? ...
<JAL> this is a joke, a html borrowed tag or something new in jal04.40 which I don't know ? <\JAL> <ASM> </ASM> ? EOF Vasile...
Vasile Surducan
vasile@...
Mar 6, 2002 9:07 am
3856
... 24c128, i know that i have to use de i2c library but i dont knwo how to write something. ... know ... Hi Look in Files in Phil Pemberton's Code ... Mario...