On Fri, 27 Aug 1999 18:58:41 -0700 Roger Johnson writes: >I am looking for a code fragment which calcuates the two's >complemnt of a 32 bit word (4 bytes) comf var,f ;Complement all bytes comf var+1,f comf var+2,f comf var+3,f incf var,f ;Inc. low byte always skpnz ;Skip if no carry to higher bytes incf var+1,f ;Carry to next byte skpnz incf var+2,f skpnz incf var+3,f ___________________________________________________________________ Get the Internet just the way you want it. Free software, free e-mail, and free Internet access for a month! Try Juno Web: http://dl.www.juno.com/dynoget/tagj.