Search code examples
hexunsignedsubtraction

can someone help me to do unsigned subtraction in hex


5ED4-07A4 doing this normally i just get 5730, im wondering if there is a special way to do this with unsigned numbers? i know that means they cant be negative but not sure how to implement that.


Solution

  • Right, if you are doing that by hand, the best way to do substractions, as far a I know, is the primary school way (of course in hex):

     000
     5ED4
    -07A4
     ----
     5730