Great god guidance command TEST AL, 02 h means
CodePudding user response:
Two operands, AL and immediately number 02, register for a "and" logical operations, according to the result set ZF, SF, PF marking, CF and OF tag position 0; AL retain the original content, if want to save the results at the same time in AL, should use the
AND AL, 02 command, Find a instruction manual in hand, can see are not clear, CodePudding user response:
reference 1/f, zara's reply: two operands, AL and immediately number 02, register for a "and" logic operations, according to the result set ZF, SF, PF marking, CF and OF tag position 0; AL retain the original content, if want to save the results at the same time in AL, should use the AND AL, 02 command, Find a instruction manual in hand, have not understand can see, I want to ask, the test of AL, 02 h has what effect? The answer is to test AL first state, but I think is to test the second state CodePudding user response:
reference 1/f, zara's reply: two operands, AL and immediately number 02, register for a "and" logic operations, according to the result set ZF, SF, PF marking, CF and OF tag position 0; AL retain the original content, if want to save the results at the same time in AL, should use the AND AL, 02 command, Find a instruction manual in hand, have not understand can see, I want to ask, the test of AL, 02 h has what effect? The answer is to test AL first state, but I think is to test the second state CodePudding user response:
Sequence in a computer, how to zero as the beginning, namely the right flag for a bit, and then left one is 1; With 1 or other values as the base often seen only in some advanced language, they because of worldly knowledge conversion, the actual or with 0, CodePudding user response:
The second is the bit1, bit0 was the first one, 0,... This is the first second and third base, is the ordinal number, ordinal number is a positive integer, generally not 0, the first such as 1