Hi,

I do not know what is a proper way to report these, so will just notify here.
So, there is a small error in format.jal, in procedure
format_dword_dec, see the last line of this:



procedure format_dword_dec(volatile byte out device, dword in data,
byte in n_tot, byte in n2) is

   const dword c1_000_000_000    = 1_000_000_000
   const dword c100_000_000      = 100_000_000
   const dword c10_000_000       = 10_000_000
   const dword c1_000_000        = 1_000_000
   const dword c100_000          = 100_000
   const word  c10_000           = 10_000
   const word  c1000             = 1000
   const word  c100              = 100
   const word  c10               = 10
   var byte digit

   -- start with spaces as a leader
   _format_leader = " "

   -- determine the next digit and display it
   if n_tot >=10 then
      digit = byte(data / c1_000_000_000)
      data  = data % c1_000_000_000
      _write_digit(device, digit, n2==9)
   end if

   if n_tot >=9 then
      digit = byte(data / c100_000_000)
      data  = data % c10_000_000

This must be 100_000_000 instead of 10_000_000!

-- 
KPL

-- 
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