I haven't been following this thread but when I was an assembly
programmer (back in the day) ANDA#$80 would zero out all bits other than
bit 7.
i.e. binary XYZA BCDE => X000 00000
In C that would be "a = a & 128"
Cheers,
A.
On 2014-09-10 15:56, charlie midi gfa
charles.copp@...
[oberheim] wrote:
> from what i know this will strip the high bits off
> leaving only values 127 or less
>
> its been a while
>
> > I'm not really that far into the disassembly yet, but what I find
> at that
> > point of the code is this:
> >
> > ANDA #$80 *C693: 84 80 '..'
> >
> > So, no adding, rather an AND, so the patch value would rather have
> to be
> > 0x7F - or am I wrong there