您的位置:首页 > 产品设计 > UI/UE

DVD-Video 解谜 - Virtual Machine coding - Instruction Set by value

2007-04-26 13:15 405 查看

Virtual Machine Instruction Set - broken down by value

01234567<- Byte
7-543-076-43-07-43-07-07-07-07-43-21-07-0<- Bits
TypeDirectSETDir CmpCMPCMDoperand 1operand 2operand 3MnemonicOperands
0X00NOP
0X01line#Gotoline#
0X02Break
0X030lvlline#SetTmpPMLlvl, line#
001-70-3cr1*cr2*as aboveCplus abovereg(cr1) cmp-op reg(cr2) plus above
011-70-3cr1*cvalas aboveCplus abovereg(cr1) cmp-op #cval plus above
0XXXX4-FXXXinvalid
10X00NOP
10X01Link subsetLink subset
10X04pgcnLinkPGCNpgcn
10X05hl_bnpttnLinkPTTNpttn [,button=hl_bn]
10X06hl_bn0pgnLinkPGNpgn [,button=hl_bn]
10X07hl_bn0cnLinkCNcn [,button=hl_bn]
1001-70, 1, 4-7cr1*cr2*as aboveCplus abovereg(cr1) cmp-op reg(cr2) plus above
1011-70, 1, 4-7cr1*cvalas aboveCplus abovereg(cr1) cmp-op #cval plus above
10XXX2, 3, 8-FXXXinvalid
11X00NOP
11X01Exit
11X02ttnJumpTTttn
11X03ttnJumpVTS_TTttn
11X05pttnttnJumpVTS_PTTttn pttn
11X060JumpSSFP
11X061menuJumpSSVMGM menu
11X06ttnvts2menuJumpSSVTSM vts, ttn, menu
11X06pgcn3JumpSSVMGM pgcn
11X08rsm_cell0CallSSFP [rsm_cell]
11X08rsm_cell1menuCallSSVMGM menu [, rsm_cell]
11X08rsm_cell2menuCallSSVTSM menu [, rsm_cell]
11X08pgcnrsm_cell3CallSSVMGM pgcn [, rsm_cell]
111-70-3, 5, 6, 8as aboveas abovecr1*cr2*Cplus abovereg(cr1) cmp-op reg(cr2) plus above
11XXX4, 7, 9-FXXXinvalid
2X0X00NOP
201X00afsr1sfsr2nfsr3SetSTNif(af) Audio = Gsr1
if(sf) Subpicture = Gsr2
if(nf) Angle = Gsr3
202X00srspgcnSetNVTMRGsrs, pgcn
203X00srsmfsrdSetGPRMMDGsrd = Gsrs [,COUNTER](mf=1)
204X00srsSetAMXMDGsrs
206X00srsSetHL_BTNNGsrs
211X00afavalsfsvalnfnvalSetSTNif(af) Audio = #aval
if(sf) Subpicture = #sval
if(nf) Angle = #nval
212X00svalpgcnSetNVTMR#sval, pgcn
213X00svalmfsrdSetGPRMMDGsrd = #sval [,COUNTER](mf=1)
214X00svalSetAMXMD#sval
216X00svalSetHL_BTNN#sval
2as aboveas above1-70as aboveas abovecr1*cr2*Cplus abovereg(cr1) cmp-op reg(cr2) plus above
2as aboveas aboveX01, 4-7as aboveas aboveas per linkas above // as per linkas above // as per link
2X7-FXXXXXXinvalid SetSystem
2XXX02, 3, 8-FXXXinvalid Link
2XXX1-71-FXXXillegal - CMP & LNK conflict
3X0X00NOP
301-BX00srdsrs*SetGsrd set-op reg(srs)
311-BX00srdsvalSetGsrd set-op #sval
3as aboveas above01-70cr1*as aboveas abovecr2*Cplus abovereg(cr1) cmp-op reg(cr2), plus above
3as aboveas above11-70cr1*as aboveas abovecvalCplus abovereg(cr1) cmp-op #cval, plus above
3as aboveas aboveX01, 4-7as aboveas aboveas per linkas above // as per linkas above // as per link
3XC-FXXXXXXinvalid Set
3XXX02, 3, 8-FXXXinvalid Link
3XXX1-71-FXXXillegal - CMP & LNK conflict
4X0X0XX00NOP
401-BX0srdsrs*X00SetGsrd set-op reg(srs)
411-BX0srdsvalX00SetGsrd set-op #sval
4X0X0hl_bn01-1FLnk[button=hl_bn]
401-BX0srdsrs*hl_bn01-1FSetLnkGsrd set-op reg(srs) [, button=hl_bn]
411-BX0srdsvalhl_bn01-1FSetLnkGsrd set-op #sval [, button=hl_bn]
4X001-7cr1cr2*hl_bn01-1FCmpLnkGcr1 cmp-op reg(cr2) [, button=hl_bn]
4X011-7cr1cvalhl_bn01-1FCmpLnkGcr1 cmp-op #cval [, button=hl_bn]
401-B01-7srdsrs*cr2*hl_bn01-1FSetCLnkGsrd set-op reg(srs), Gsrd cmp-op reg(cr2) [, button=hl_bn]
401-B11-7srdsrs*cvalhl_bn01-1FSetCLnkGsrd set-op reg(srs), Gsrd cmp-op #cval [, button=hl_bn]
411-B01-7srdsvalcr2*hl_bn01-1FSetCLnkGsrd set-op #sval, Gsrd cmp-op reg(cr2) [, button=hl_bn]
411-B11-7srdsvalcvalhl_bn01-1FSetCLnkGsrd set-op #sval, Gsrd cmp-op #cval [, button=hl_bn]
5, 6X0X0XX00NOP
5, 601-BX0srdsrs*X00SetGsrd set-op reg(srs)
5, 611-BX0srdsvalX00SetGsrd set-op #sval
5, 6X0X0hl_bn01-1FLnk[button=hl_bn]
5, 601-BX0srdsrs*hl_bn01-1FSetLnkGsrd set-op reg(srs) [, button=hl_bn]
5, 611-BX0srdsvalhl_bn01-1FSetLnkGsrd set-op #sval [, button=hl_bn]
5, 60001-7cr1*cr2*hl_bn01-1FCmpLnkreg(cr1) cmp-op reg(cr2) [, button=hl_bn]
5, 60011-7cr1*cvalhl_bn01-1FCmpLnkreg(cr1) cmp-op #cval [, button=hl_bn]
5, 610X1-7cr1*cr2*hl_bn01-1FCmpLnkreg(cr1) cmp-op reg(cr2) [, button=hl_bn]
5, 601-B01-7srdsrs*cr1*cr2*X00CmpSetreg(cr1) cmp-op reg(cr2), Gsrd set-op reg(srs)
5, 601-B11-7srdsrs*cr1*cvalX00CmpSetreg(cr1) cmp-op #cval, Gsrd set-op reg(srs)
5, 611-BX1-7srdsvalcr1*cr2*X00CmpSetreg(cr1) cmp-op reg(cr2), Gsrd set-op #sval
501-B01-7srdsrs*cr1*cr2*hl_bn01-1FCSetCLnkreg(cr1) cmp-op reg(cr2), Gsrd set-op reg(srs) [, button=hl_bn]
501-B11-7srdsrs*cr1*cvalhl_bn01-1FCSetCLnkreg(cr1) cmp-op #cval, Gsrd set-op reg(srs) [, button=hl_bn]
511-BX1-7srdsvalcr1*cr2*hl_bn01-1FCSetCLnkreg(cr1) cmp-op reg(cr2), Gsrd set-op #sval [, button=hl_bn]
601-B01-7srdsrs*cr1*cr2*hl_bn01-1FCmpSetLnkreg(cr1) cmp-op reg(cr2), Gsrd set-op reg(srs) [, button=hl_bn]
601-B11-7srdsrs*cr1*cvalhl_bn01-1FCmpSetLnkreg(cr1) cmp-op #cval, Gsrd set-op reg(srs) [, button=hl_bn]
611-BX1-7srdsvalcr1*cr2*hl_bn01-1FCmpSetLnkreg(cr1) cmp-op reg(cr2), Gsrd set-op #sval [, button=hl_bn]
4, 5, 6XC-FXXXXXXinvalid Set
7unknown
* register values 0-15 (0x00 - 0x0f) refer to General Purpose registers (GPRM), 16-127 (0x10 - 0x7f) are invalid, 128-151 (0x80 - 0x97) refer to 152-255 (0x98 - 0xff) are invalid.

SET and CMP operations

Code0123456789ab
SET opnonemov
=
swp
<->
add
+=
sub
-=
mul
*=
div
/=
mod
%=
rnd
and
&=
or
|=
xor
^=
CMP opnoneBC
&
EQ
==
NE
!=
GE
>=
GT
>
LE
<=
LT
<

Link subset codes

67<- Byte
7-21-07-54-0<- Bits
operand 3MnemonicOperands
hl_bn00LinkNoLink[button=hl_bn]
hl_bn01LinkTopCell[button=hl_bn]
hl_bn02LinkNextCell[button=hl_bn]
hl_bn03LinkPrevCell[button=hl_bn]
hl_bn05LinkTopPG[button=hl_bn]
hl_bn06LinkNextPG[button=hl_bn]
hl_bn07LinkPrevPG[button=hl_bn]
hl_bn09LinkTopPGC[button=hl_bn]
hl_bn0aLinkNextPGC[button=hl_bn]
hl_bn0bLinkPrevPGC[button=hl_bn]
hl_bn0cLinkGoupPGC[button=hl_bn]
hl_bn0dLinkTailPGC[button=hl_bn]
hl_bn10RSM[button=hl_bn]
XX04, 08, 0E, 0F, 11-1Finvalid
System Parameter registers (SPRM),
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: 
相关文章推荐