The mask should be viewed in binary or hex representation for better readability
The DTR instruction is a weird one in that it is an input instruction that also writes to the reference value.
It is used to generate a true condition once each time the reference value does not match the source value.
It uses the mask to determine which bits to compare and which ones to ignore. The 1's are bits to be compared, and the 0's are bits to be ignored.
So each time the DTR is scanned, it will compare the source to the reference using the mask, and if there is a difference, it will allow the flow of logic to the next instruction, and write the source to the reference, also using the mask so as not to disturb the bits you want to ignore.
Paul