We're adding a 8-bit integer to 16-bit integer. So it's makes a 
difference is it signed or not.

Ok, I'll try.

On 15.04.2013 12:38, Vaclav Peroutka wrote:
> Hi Valentin,
>
> you can try how it works in ucsim. But I probably do not understand 
> well how addw does work in your example. If you use 2's complement and 
> you add and wrap - it automatically does subtraction, doesn't it ?
>
> Vaclav


------------------------------------------------------------------------------
Precog is a next-generation analytics platform capable of advanced
analytics on semi-structured data. The platform includes APIs for building
apps and a phenomenal toolset for data science. Developers can use
our toolset for easy data analysis & visualization. Get a free account!
http://www2.precog.com/precogplatform/slashdotnewsletter
_______________________________________________
Sdcc-user mailing list
Sdcc-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/sdcc-user

Reply via email to