MSA 011110 |
00 |
i8 |
ws |
wd |
I8 000000 |
6 |
2 |
8 |
5 |
5 |
6 |
ANDI.B |
Immediate Logical And | |
ANDI.B wd,ws,i8 |
MSA |
Immediate Logical And |
Immediate Logical And
Immediate by vector logical and.
wd[i] = ws[i] AND i8
Each byte element of vector ws is combined with the 8-bit immediate i8 in a bitwise logical AND operation. The result is written to vector wd.
The operands and results are values in integer byte data format.
No data-dependent exceptions are possible.
for i in 0 .. WRLEN/8-1 WR[wd]8i+7..8i = WR[ws]8i+7..8i and i87..0 endfor
Reserved Instruction Exception, MSA Disabled Exception.