• Converting 'short' to 'unsigned char'
    Hi, I've to debug an application written by someone else (...) An 'unsigned char' is used to be filled with data from a 'short'. If I change the source 'short' variabele type (filled somewhere...
  • subtraction with borrow
    Hi all How to write a pragram to subtraction immediate data from accumulator with borrow in C51?
  • Problem With Subtraction
    I am trying to do a straight forward subtraction and am getting the wrong result every time. The code is as simple as if(SetPoint>PulseCountLast) { error = SetPoint-PulseCountLast; } All three...
  • Fast dark picture subtraction
    Hi, I'm searching for a fast way to substract a dark image from another image. If the dark image pixel value is greater than the corresponding image pixel, the resulting image pixel should be zero...
  • Error - Subtractive relocations not supported
    I was trying to add RO data size to a FW image header. In header.inc file I had done DCD ||Image$$TEXT$$ZI$$Limit|| - ||Image$$TEXT$$Base|| It generated error - Error: A1142E: Subtractive relocations...