Thank you, Al - I was able download your chapter, have printed it, and will
study it before going further. I need to concentrate on how signed integers
compare, particularly when one integer is opposite sign of the other.
Dave
>i HAVE A RATHER LONG WINDED EXPLANATION OF THIS in a
chapter of a book
>i started to write a few years ago. If you want a copy of that let me
>know. I have also posted it to the group files site.
>
>Al
>
>On 22/08/2012 4:57 AM, David Feldman wrote:
>> I am translating a few dozen lines of c code to msp430 assembler (so I am
doing this manually rather than trying to integrate a small amount of inline C
to what is otherwise an assembly language program).
Re: Assembly language - comparing two unknown, signed 16-bit integer
Started by ●August 22, 2012
Reply by ●August 22, 20122012-08-22
> Thank you, Al - I was able download your chapter,
have printed it, and
> will study it before going further. I need to concentrate on how signed
> integers compare, particularly when one integer is opposite sign of the
> other.
Use a compiler and look at the output generated when comparing ints. It
really isn't that difficult.
--
Paul Curtis, Rowley Associates Ltd http://www.rowley.co.uk
SolderCore Development Platform http://www.soldercore.com
> will study it before going further. I need to concentrate on how signed
> integers compare, particularly when one integer is opposite sign of the
> other.
Use a compiler and look at the output generated when comparing ints. It
really isn't that difficult.
--
Paul Curtis, Rowley Associates Ltd http://www.rowley.co.uk
SolderCore Development Platform http://www.soldercore.com