Y
Hacker News
new
|
ask
|
show
|
jobs
by
jimktrains2
1878 days ago
I thought TEST did a subtract, setting the appropriate flags and discarded the result?
1 comments
gnum4n
1878 days ago
You're probably thinking of the CMP instruction:
https://www.aldeid.com/wiki/X86-assembly/Instructions/cmp
TEST does a boolean AND test:
https://www.aldeid.com/wiki/X86-assembly/Instructions/test
link
TEST does a boolean AND test: https://www.aldeid.com/wiki/X86-assembly/Instructions/test