Greetings, 

I'm continuing to try to get the compiler to act correctly and have found 
bugs 
(my fault, due to lack of documentation) in some of jallib. Specifically, 
the 
syntax: 

VAR type var2 AT va1 : n 

this syntax was only meant to work with variables of type BIT. I checked 
jallib and found two instances where this is wrong: 

mp3_decoder_vs1053b.jal:vs_soft_reset: 

var byte mode 
var byte reset at mode : 2 

lib/stopwatch.jal -- definition of stopwatch_high_value: 

var byte*4 stopwatch_high_value at _stopwatch_count : 16 

Looking at the output, neither of these produce the expected code. It looks 
like the first one, `reset' should a a bit. 

For the second one, I'm going to try to allow the following: 

var byte*4 stopwatch_high_value at _stopwatch_count + 2

--kyle

-- 
You received this message because you are subscribed to the Google Groups 
"jallib" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/jallib/-/2pyepR1JQxgJ.
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