INB

NOT R[x], R[y],b - Inverting Bit

 

Operating Mode

                                 -------

R[x] := R[y]15R[y]14...R[y]b........R[y]0

          

PC := PC + 1

 

Description

 

Takes register R[y], inverts Bit at position b and saves result to register R[x].

 

Status Register

 

Zero - Bit := 1 if all Bits of R[y] are 0 after operation

 

Binary Command

15 14 13 12 11

10 9 8

7

 6

5 4 3

2 1 0

10001

Adr(x)

-

b3

Adr(y)

b2 b1 b0

Example

 

INB R[5], R[6],11  

15 14 13 12 11

10 9 8

7

 6

5 4 3

2 1 0

10001

101

-

1

110

011