Hi,

Understanding JAL.

For the device file content I have been looking at the libraries of Stef 
and Bert. One of the things I found 'mysterious' is the declaration of 
pin shadowing procedures:

So far I have used:

procedure pin_A6'put(bit in x) is
   pragma inline
   var bit _tmp_bit at _PORTA_shadow : 6
   _tmp_bit = x
   _PORTA_flush()
end procedure

But Bert/Stef have:

procedure pin_A6'put(bit in x at _PORTA_shadow : 6 ) is
   pragma inline
   _PORTA_flush()
end procedure

which generates exactly the same asm instructions.

Since the second form looks more elegant and saves some lines I'm 
considering to change the Dev2Jal script from first to second form.
Any objections?


Regards, Rob.


-- 
Rob Hamerling, Vianen, NL (http://www.robh.nl/)

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"jallib" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/jallib?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to