3 ms·
I thought TEST did a subtract, setting the appropriate flags and discarded the result?
by jimktrains2 5y ago
I thought TEST did a subtract, setting the appropriate flags and discarded the result?
- gnum4n 5y agoYou're probably thinking of the CMP instruction: https://www.aldeid.com/wiki/X86-assembly/Instructions/cmp https://www.aldeid.com/wiki/X86-assembly/Instructions/cmp TEST does a boolean AND test: https://www.aldeid.com/wiki/X86-assembly/Instructions/test https://www.aldeid.com/wiki/X86-assembly/Instructions/test