as: D10V-Chars
1
1 9.9.2.3 Special Characters
1 ..........................
1
1 A semicolon (';') can be used anywhere on a line to start a comment that
1 extends to the end of the line.
1
1 If a '#' appears as the first character of a line, the whole line is
1 treated as a comment, but in this case the line could also be a logical
1 line number directive (⇒Comments) or a preprocessor control
1 command (⇒Preprocessing).
1
1 Sub-instructions may be executed in order, in reverse-order, or in
1 parallel. Instructions listed in the standard one-per-line format will
1 be executed sequentially. To specify the executing order, use the
1 following symbols:
1 '->'
1 Sequential with instruction on the left first.
1 '<-'
1 Sequential with instruction on the right first.
1 '||'
1 Parallel
1 The D10V syntax allows either one instruction per line, one
1 instruction per line with the execution symbol, or two instructions per
1 line. For example
1 'abs a1 -> abs r0'
1 Execute these sequentially. The instruction on the right is in the
1 right container and is executed second.
1 'abs r0 <- abs a1'
1 Execute these reverse-sequentially. The instruction on the right
1 is in the right container, and is executed first.
1 'ld2w r2,@r8+ || mac a0,r0,r7'
1 Execute these in parallel.
1 'ld2w r2,@r8+ ||'
1 'mac a0,r0,r7'
1 Two-line format. Execute these in parallel.
1 'ld2w r2,@r8+'
1 'mac a0,r0,r7'
1 Two-line format. Execute these sequentially. Assembler will put
1 them in the proper containers.
1 'ld2w r2,@r8+ ->'
1 'mac a0,r0,r7'
1 Two-line format. Execute these sequentially. Same as above but
1 second instruction will always go into right container.
1 Since '$' has no special meaning, you may use it in symbol names.
1