Specifications

Table Of Contents
Altera Corporation 8–13
October 2007 Nios II Processor Reference Handbook
andi
andi
bitwise logical and immediate
Operation:
rB
rA & (0x0000 : IMM16)
Assembler Syntax:
andi rB, rA, IMM16
Example:
andi r6, r7, 100
Description: Calculates the bitwise logical AND of rA and (0x0000 : IMM16) and stores the result in
rB.
Instruction Type: I
Instruction Fields: A = Register index of operand rA
B = Register index of operand rB
IMM16 = 16-bit unsigned immediate value
313029282726252423222120191817161514131211109876543210
A B IMM16 0x0c