VCFG

Register: Video configuration register.

DAT
< Label
 > Condition > Instruction VCFGSrcOperand Effects >


DAT
< Label
 > Condition > Instruction DestOperandVCFG Effects >

  • Label is an optional statement label. See Common Syntax Elements.
  • Condition is an optional execution condition. See Common Syntax Elements.
  • Instruction is the desired assembly instruction. VCFG may be used in either the assembly instruction's DestOperand or SrcOperand fields.
  • SrcOperand is a constant expression used by Instruction to operate on, and optionally write to, the VCFG register in DestOperand.
  • DestOperand is a constant expression indicating the register that is operated on, and optionally written to, using the value of VCFG in SrcOperand.

Explanation

VCFG is one of two registers (VCFG and VSCL) that affect the behavior of a cog's Video Generator. Each cog has a video generator module that facilitates transmitting video image data at a constant rate. The VCFG register contains the configuration settings of the video generator.

The following code sets the Video Configuration register to enable video in composite mode 1 with four colors, baseband chroma (color) enabled, on pin group 1, lower 4 pins (which is pins P11:8).

                  mov      vcfg,  VidCfg 
VidCfg    long    %0_10_1_0_1_000_00000000000_001_0_00001111 

Unless otherwise noted, content on this site is licensed under the
Creative Commons Attribution-ShareAlike 4.0 International License.