Performs a logical {AND} of the two operands updating the flags register without saving the result.
Usage:
TEST dest,src ;
Modifies flags:
CF OF PF SF ZF (AF undefined)
Clocks | Size | |||||
---|---|---|---|---|---|---|
Operands | 808x | 286 | 386 | 486 | Bytes | |
reg,reg | 3 | 2 | 1 | 1 | 2 | |
reg,mem | 9+EA | 6 | 5 | 1 | 2-4 | (W88=13+EA) |
mem,reg | 9+EA | 6 | 5 | 2 | 2-4 | (W88=13+EA) |
reg,immed | 5 | 3 | 2 | 1 | 3-4 | |
mem,immed | 11+EA | 6 | 5 | 2 | 3-6 | |
accum,immed | 4 | 3 | 2 | 1 | 2-3 |