Post Created date
2's complement in assembly?
SprinterSB wrote: avr-gcc uses   neg HI neg LO sbc HI, __zero_reg__   as the compiler maintains a register that is known to be 0.  When such a reg is not available...
Sunday, 3 September 2017 - 15:05
2's complement in assembly?
clawson wrote: Stub_Mandrel wrote: Calm down,   In what way was Joey's reply not "calm" ? I think you may be the one over-reacting here.   I assume you responded...
Tuesday, 29 August 2017 - 08:12
2's complement in assembly?
joeymorin wrote: big endian Why?  The AVR is arguably a little-endian machine.  Are you writing some kind of cross compiler?  Or an interchange library à la Google...
Tuesday, 29 August 2017 - 08:04
2's complement in assembly?
El Tangas wrote: Well, from this old thread, I noticed they compiled something to see how the compiler did it.   So, I compiled this:   ....   Therefore, if this is...
Monday, 28 August 2017 - 08:23
2's complement in assembly?
Sorry to dredge up an old thread.   I'm assuming this works because NEG creates a carry unless the result is zero?   So for a three-byte number r25:r23 (big endian):...
Sunday, 27 August 2017 - 20:52
Are Rotary Quad Encoders a write off?
I think I'm very poor at explaining myself sometimes.   I'm also very good at screwing up in interesting ways.   Yes, the schmitt inverter was completely duff, all o/p...
Friday, 24 June 2016 - 10:09
Are Rotary Quad Encoders a write off?
Kartman wrote:I can't help but think we're going over the same thing we done many times before. Can someone search out the relevant threads for mr mandrel as this thread is far...
Thursday, 23 June 2016 - 22:48
Are Rotary Quad Encoders a write off?
sbennett wrote: Which type of quadrature encoder is being discussed here?   Full cycle, detented, where a complete quadrature cycle occurs between detents, where both A...
Thursday, 23 June 2016 - 20:56
Are Rotary Quad Encoders a write off?
bobgardner wrote: Yo Stub... does your encoder have a detent? If so, lets say its in the detent right smack-a-dab in the middle of channel A, so if you 'rock' it in the detent,...
Thursday, 23 June 2016 - 20:54
Are Rotary Quad Encoders a write off?
bobgardner wrote: Well Stub, in msg 18 you said there was a problem figuring out the level while turning. If you look for the edge instead of the level, the problem is non...
Thursday, 23 June 2016 - 16:54
Are Rotary Quad Encoders a write off?
Stub_Mandrel wrote:I've made a little debounce board with a 74LS14 on it, still not working so off to check it with the scope.   Grr! the TTL seems to be duff. Year/week code...
Thursday, 23 June 2016 - 16:28
Are Rotary Quad Encoders a write off?
@Clawson   As I posted at the start, I have had no trouble using a quality quad switch, it's when I tried to use teh ubiquitous blue-cheapies I got problems - and I suspect...
Thursday, 23 June 2016 - 15:58

Pages