The task is to write a macro for sampling from a certain array of decimal numbers of increased accuracy in the unpacked format of all elements with a given value of parity. Using this macro, process two arrays, in the first of which there are 100 20-bit numbers, and in the second - 50 30-bit numbers. In this case, from the first array, select numbers with even parity, and from the second with odd parity.
The data looks like this:
Var DB 2,2,3,3,4,4,5,5,6,6; 2233445566 десятичное 10-ти значное число To calculate the parity, it is necessary to convert the number system to 16 (I do not know of any other way). How to translate this number? MASM is used for a processor similar to Intel8086 (16-bit)