DVP- ES2/ EX2/ SS2/ SA2/ SX2/ SE&TP O pe r a t i on Ma nua l - Pr ogr am m i ng3- 436Points to note:1. A matrix consists of more than 1 consecutive 16-bit registers. The number of registers isindicated as the matrix length (n). A matrix contains 16 × n bits (points) and the matrixinstructions conduct bit operation, i.e. operation is performed bit by bit.2. Matrix instructions designate a single bit of the 16 × n bits (b0 ~ b16n-1) for operation. The bits inmatrix are not operated as value operation.3. The matrix instructions process the moving, copying, comparing and searching ofone-to-many or many-to-many matrix operation, which are a very handy and importantapplication instructions.4. The matrix operation requires a 16-bit register for designating a bit among the 16n bits in thematrix. The register is the Pointer (Pr) of the matrix, designated by the user in the instruction.The valid range of Pr is 0 ~ 16n -1, corresponding to b0 ~ b16n-1 in the matrix.5. The bit number decreases from left to right (see the figure below). With the bit number, matrixoperation such as bit shift left, bit shift right, bit rotation can be performed and identified.1 1 1 1 1 1 1 1 1 1 0 0 0 0 1 11 1 1 1 1 1 1 1 1 1 0 0 0 0 1 11 1 0 10 0 0 0 0 00 0 1 1 0 01 1 0 10 0 0 0 0 00 0 1 1 0 0b0b16b32b31b15b47D0D1D2b16n-11 1 1 1 1 1 1 1 1 1 0 0 0 0 1 1Left RightWidth: 16 bitsDn-1Length: n6. The matrix width (C) is fixed as 16 bits.7. Pr: matrix pointer. E.g. if Pr is 15, the designated bit is b15.8. Matrix length (R) is n: n = 1 ~ 256.Example: This matrix is composed of D0, n = 3; D0 = HAAAA, D1 = H5555, D2 = HAAFFC15 C14 C13 C12 C11 C10 C9 C8 C7 C6 C5 C4 C3 C2 C1 C0R0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 D0R1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 D1R2 1 0 1 0 1 0 1 0 1 1 1 1 1 1 1 1 D2Example: This matrix is composed of K2X20, n = 3; K2X20 = H37, K2X30 = H68, K2X40 =H45C15 C14 C13 C12 C11 C10 C9 C8 C7 C6 C5 C4 C3 C2 C1 C0R0 0 0 0 0 0 0 0 0 0 0 1 1 0 1 1 1 X20~X27R1 0 0 0 0 0 0 0 0 0 1 1 0 1 0 0 0 X30~X37R2 0 0 0 0 0 0 0 0 0 1 0 0 0 1 0 1 X40~X47Fill “0” into the blank in R0(C15-C8), R1(C15-C8), and R2(C15-C8).