Hex Code: | 20 | 01 | 00 | 00 | 00 | 00 | HH | 07 |   unconditional |
---|---|---|---|---|---|---|---|---|---|
20 | M1 | 00 | XX | 00 | YY | HH | 07 |   M=1-7, Compare register XX to register YY | |
20 | M1 | 00 | XX | KK | KK | HH | 07 |   M=9-F, Compare register XX to constant KKKK |
Action: | The LinkPrevPG command starts the previous program, and can set SPRM 8 to highlight a different button by setting "HH" (byte 6) to 4*button. |
Order: | If a compare is specified, it is performed first. If the conditions are met the LinkPrevPG is executed. |
Comments: | This command is intended to be used as a cell or button command. Other related commands are
LinkTopPG and LinkNextPG.
This command is also available as part of class 4, 5, and 6 commands. |
Compare operation codes | |||||
---|---|---|---|---|---|
register to register | register to constant | Alternate mnemonic | Comments | ||
M | operation | M | operation | ||
1 | RegX & RegY | 9 | RegX & K | BC | Bitwise compare, the two operands are anded, if the result is non-zero the condition is true |
2 | RegX == RegY | A | RegX == K | EQ | If the two operands are equal the condition is true |
3 | RegX != RegY | B | RegX != K | NE | If the two operands are not equal the condition is true |
4 | RegX >= RegY | C | RegX >= K | GE | If RegX is greater than or equal to the right operand the condition is true |
5 | RegX > RegY | D | RegX > K | GT | If RegX is greater than the right operand the condition is true |
6 | RegX <= RegY | E | RegX <= K | LE | If RegX is less than or equal to the right operand the condition is true |
7 | RegX < RegY | F | RegX < K | LT | If RegX is less than the right operand the condition is true |
Register Codes | |
---|---|
0x00 through 0x0F | General Purpose registers 0 to 15 (GPRM) |
0x80 through 0x97 | System Parameter registers 0 to 23 (SPRM) |
all others | do not use |
Numerically | Alphabetically | Index |
Alphabetically | Numerically |
DVD-Video info home | Copyright © 2001 - 2024 MPUCoder, all rights reserved. |