Mnemonic: LinkPTTN

Hex Code:200500000000HTTT*   unconditional
20M500XX00YYHTTT*   M=1-7, Compare register XX to register YY
20M500XXKKKKHTTT*   M=9-F, Compare register XX to constant KKKK
*Bytes 6&7 as bits:
Byte 6Byte 7
7654321076543210
HHHHHHTTTTTTTTTT
Action:The LinkPTTN command jumps to Part of Title (PTT, also known as chapter) "TTT" (bytes 6&7) in the current title, and can set SPRM 8 to highlight a different button by setting "H" (part of byte 6) non-zero.
Order:If a compare is specified, it is performed first. If the conditions are met the LinkPTTN is executed.
Comments:Restricted to the current title, not for use in menu PGCs.
Compare operation codes
register to registerregister to constantAlternate
mnemonic
Comments
MoperationMoperation
1RegX & RegY9RegX & KBCBitwise compare, the two operands are anded, if the result is non-zero the condition is true
2RegX == RegYARegX == KEQIf the two operands are equal the condition is true
3RegX != RegYBRegX != KNEIf the two operands are not equal the condition is true
4RegX >= RegYCRegX >= KGEIf RegX is greater than or equal to the right operand the condition is true
5RegX > RegYDRegX > KGTIf RegX is greater than the right operand the condition is true
6RegX <= RegYERegX <= KLEIf RegX is less than or equal to the right operand the condition is true
7RegX < RegYFRegX < KLTIf RegX is less than the right operand the condition is true
Register Codes
0x00 through 0x0FGeneral Purpose registers 0 to 15 (GPRM)
0x80 through 0x97System Parameter registers 0 to 23 (SPRM)
all othersdo not use
Numerically Alphabetically
Index
Alphabetically Numerically
DVD-Video info home Copyright © 2001 - 2024 MPUCoder, all rights reserved.