• Display values larger than a long.
    I need to work with values larger than what can be fit into the 32 bit long available in the compiler. I can store the values in 5 byte arrays, but I need user interaction via a numeric dispaly and keypad...
  • Arithmetic on numbers larger than 32 bits
    I need to add a 32-bit number to a 48-bit number. What I want to do is perform the first 32 bit arithmetic in C as follows: Wv.A += Wv.B ; And to propagate the carry to the most significant word as...
  • C51: a lot of values assignment
    Hi, In my C code, I need to assign a lot of values. Like this: a1,a2,... are variables as char. v1,v2...,w1,w2...y1,y2 are constant (like 0x00, 0x01, ...etc) if (i==0){ a1 = v1; a2 = v2;...
  • assign value to flash memory
    Hi Guys How am i able to assign values to a variable i have stored in flash so that it is included in the hex file? For example: i have declared a variable volatile unsigned char code err_msgs...
  • ASM51 REGUSE bit assignments
    I've identified all but two bits in the word value that results from register use. The obvious ones are: R0-R7 DPH DPL PSW ACC B CY These are assigned to the lower 14 bits of the word (order...