comparison doc/manual.docbook.sgml @ 428:637f46c5b2b7

Added note to manual explaining that operands cannot contain spaces
author lost@l-w.ca
date Sun, 19 Sep 2010 12:04:12 -0600
parents b2e007c28b8f
children a9521955554f
comparison
equal deleted inserted replaced
427:0f2d9a943e96 428:637f46c5b2b7
403 The op code is separated from the symbol by whitespace. If there is 403 The op code is separated from the symbol by whitespace. If there is
404 no symbol, there must be at least one white space character preceding it. 404 no symbol, there must be at least one white space character preceding it.
405 If applicable, the operand follows separated by whitespace. Following the 405 If applicable, the operand follows separated by whitespace. Following the
406 opcode and operand is an optional comment. 406 opcode and operand is an optional comment.
407 </para> 407 </para>
408
409 <para> It is important to note that operands cannot contain any whitespace
410 except in the case of delimited strings. This is because the first
411 whitespace character will be interpreted as the separator between the
412 operand column and the comment. This behaviour is required for approximate
413 source compatibility with other 6x09 assemblers. </para>
414
408 <para> 415 <para>
409 A comment can also be introduced with a * or a ;. The comment character is 416 A comment can also be introduced with a * or a ;. The comment character is
410 optional for end of statement comments. However, if a symbol is the only 417 optional for end of statement comments. However, if a symbol is the only
411 thing present on the line other than the comment, the comment character is 418 thing present on the line other than the comment, the comment character is
412 mandatory to prevent the assembler from interpreting the comment as an opcode. 419 mandatory to prevent the assembler from interpreting the comment as an opcode.