I\'m messing with assembly language programming and I\'m curious how I could tell if a number is a multiple of 4 using the logic operator AND?
I know how to do it us
In x86 assembly:
test eax, 3 jnz not_multiple_of_4 ; action to be taken if EAX is a multiple of 4 not_multiple_of_4: ; ...