Labels followed by `::' are extern symbols.

KVX Dependent Features
**********************

Options
=======

--dump-insn
     Dump the full list of instructions.

-march=
     The assembler supports the following architectures: kv3-1, kv3-2.

--check-resources
     Check that each bundle does not use more resources than available.  This is the default.

--no-check-resources
     Do not check that each bundle does not use more resources than available.

--generate-illegal-code
     For debugging purposes only.  In order to properly work, the bundle is sorted with respect to the issues it uses.  If this option is turned on the assembler will not sort the bundle instructions and illegal bundles might be formed unless they were properly sorted by hand.

--dump-table
     Dump the table of opcodes.

--mpic | --mPIC
     Generate position independent code.

--mnopic
     Generate position dependent code.

-m32
     Generate 32-bits code.

--all-sfr
     This switch enables the register class "system register".  This register class is used when performing system validation and allows the full class of system registers to be used even on instructions that are only valid with some specific system registers.

--diagnostics
     Print multi-line errors.  This is the default.

--no-diagnostics
     Print succinct diagnostics on one line.

KVX Machine Directives
======================

.align ALIGNMENT
     Pad with NOPs until the next boundary with the required ALIGNMENT.

.dword
     Declare a double-word-sized (8 bytes) constant.

.endp [PROC]
     This directive marks the end of the procedure PROC.  The name of the procedure is always ignored (it is only here as a visual indicator).

          .proc NAME
          ...
          .endp NAME

     is equivalent to the more traditional

          .type NAME, @function
          ...
          .size NAME,.-NAME

.file
     This directive is only supported when producing ELF files. see .file for details.

.loc FILENO LINENO
     This directive is only supported when producing ELF files. see .line for details.

.proc PROC
     This directive marks the start of procedure, the name of the procedure PROC is mandatory and all .proc directive should be matched by exactly one .endp directive.

.word
     Declare a word-sized (4 bytes) constant.