Re: [avr-gcc-list] Re: cbr and negative numbers

2008-09-12 Thread Ruud Vlaming
On Thursday 11 September 2008 16:19, you wrote: > > Now i don't know of any instruction that takes an immediate 16 bit > operand, but still. > > CALL (takes 2-byte operand on most AVRs, 3-byte operand on avr6 > (m2560/1) > JMP  (takes 2-byte operand on most AVRs, 3-byte operand on avr6 > (m2560/1

Re: [avr-gcc-list] Re: cbr and negative numbers

2008-09-11 Thread Ruud Vlaming
On Wednesday 10 September 2008 23:15, David Brown wrote: > Have you tried using "M" as the constraint rather than "i" ? I haven't > tried this myself, but according to > "M" is an > 8-bit integer constant in the range 0 to 255. Tha

[avr-gcc-list] Re: cbr and negative numbers

2008-09-10 Thread David Brown
Ruud Vlaming wrote: Suppose you compile the (nonsense) code below under 'standard' settings (see below for my settings, but is does not really matter for now) Then there is no problem. However, if you activate the 8 bit integer option -mint8 you get an error: code_Test.s:75: Error: number m