Changes

Jump to navigation Jump to search
204 bytes added ,  18:50, 26 February 2014
Line 78: Line 78:  
!Encoding
 
!Encoding
 
|-
 
|-
|DP3
+
|DT3
 
|Dot product vec3*vec3
 
|Dot product vec3*vec3
 
|0000 01DD DDDD ??AA AAAA BBBB BBXX XXXX
 
|0000 01DD DDDD ??AA AAAA BBBB BBXX XXXX
 
|-
 
|-
|DP4
+
|DT4
 
|Dot product vec4*vec4
 
|Dot product vec4*vec4
 
|0000 10DD DDDD ??AA AAAA BBBB BBXX XXXX
 
|0000 10DD DDDD ??AA AAAA BBBB BBXX XXXX
Line 90: Line 90:  
|0010 01DD DDDD ??AA AAAA 0000 00XX XXXX
 
|0010 01DD DDDD ??AA AAAA 0000 00XX XXXX
 
|-
 
|-
|?
+
|CALL
|End 2
+
|Call subroutine
|1000 0100 0000 0000 0000 0000 0000 0000
+
|1001 R??? 10SS SSSS SSSS SSLL LLLL LLLL
 
|-
 
|-
|?
+
|JMP
|End 1
+
|Jump
|1000 1000 0000 0000 0000 0000 0000 0000
+
|1001 1110 ??SS SSSS SSSS SS00 0000 0000
 
|-
 
|-
|CAL
+
|JMPB (?)
|Call subroutine
+
|Jump to block (?)
|1001 00SS SSSS SSSS SSSS SSLL LLLL LLLL
+
|1001 110? ??SS SSSS SSSS SSLL LLLL LLLL
 +
|-
 +
|IF???/REP???
 +
|Jump to IF/REP-block (?)
 +
|1010 00?? ??SS SSSS SSSS SSLL LLLL LLLL
 +
|-
 +
|END
 +
|Ends a block (?)
 +
|0b10000100000000000000000000000000
 
|}
 
|}
   Line 122: Line 130:  
|-
 
|-
 
|S
 
|S
|absolute offset for subroutine (in words)
+
|absolute offset for code (in words)
 
|-
 
|-
 
|L
 
|L
|number of instructions to execute in subroutine
+
|number of instructions to execute
 +
|-
 +
|R
 +
|R=0 means S is relative, R=1 means S is absolute.
 
|}
 
|}
  

Navigation menu