Logical addition of hexadecimal numbers - how is it done? On the VAX emulator, if anyone heard, put the numbers together and clarified something a little for themselves, but obviously wrong. numbers from 0 to 17 were added this way: the number greater than the previous one was remembered Suppose 14 + 17 = 17. The following addition went like this: 27 + 17 = 37 0_0.

  • First, the numbers from 0 to F (== 15). - skegg
  • Please follow your thought. - jurbasiq
  • In the hexadecimal system, digits are denoted by 0-9, A, B, C, D, E, F, corresponding to the decimal numbers from 0 to 15. - skegg
  • YES I know it, does not change things. I still do not understand anything. - jurbasiq

1 answer 1

And you just understand the difference between arithmetic addition and logical ???
Logical addition is an OR function.

0 or 0 = 0 1 or 0 = 1 0 or 1 = 1 1 or 1 = 1 27 (hex) = 100111 (bin) 17 (hex) = 10111 (bin) складываем поразрядно 100111 or 010111 = 110111 110111 (bin) = 37 (hex)