]> git.sur5r.net Git - cc65/blobdiff - doc/da65.sgml
Support for "virtual operands" of subroutines like this:
[cc65] / doc / da65.sgml
index a8e32e1c851aab07b74061d70a0b875a9b60dbce..c2d87ac928b5c30270cd987a028a00cad1407825 100644 (file)
@@ -542,6 +542,18 @@ code. The following attributes are recognized:
   range, where <tt/label/ is the label name given with the <tt/NAME/
   attribute, and <tt/offs/ is the offset within the data.
 
+  <tag><tt>VOPERAND</tt></tag>
+  This optional attribute is followed by a numerical value. It tells the
+  assembler that subroutine calls to this label follow "virtual operands"
+  of the given bytes like this:
+
+<tscreen><verb>
+               JSR     LabelWith2BytesOfVoperand
+       .byte   $00, $10    ; virtual operands
+       ; return here
+       BIT     $0F
+</verb></tscreen>
+
 </descrip>