FRQA, FRQB

Register: Counter A and Counter B frequency registers. 

DATLabel > Condition > Instruction FRQASrcOperand Effects >


DAT
Label > Condition > Instruction DestOperandFRQA Effects >


DAT
Label > Condition Instruction > FRQBSrcOperand Effects >


DAT
Label > Condition Instruction > DestOperandFRQB Effects >


Result: Optionally, the counter frequency register is updated.

  • 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. FRQA or FRQB 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 FRQA or FRQB register in DestOperand.
  • DestOperand is a constant expression indicating the register that is operated on, and optionally written to, using the value of FRQA or FRQB in SrcOperand.

Explanation

FRQA and FRQB are read/write registers and can be used in either the DestOperand or SrcOperand fields of an assembly instruction. The following code sets FRQA to $F. See Registers, and the Spin language FRQA, FRQB, for more information.

mov    frqa,    #$F

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