]> git.sur5r.net Git - cc65/blobdiff - src/cc65/coptadd.h
Renamed ExprDesc.Val to ExprDesc.IVal. Added an FVal field for a floating
[cc65] / src / cc65 / coptadd.h
index accf3d831d23a224cd8c02ac08c80bb6be8c0c5a..75965064841ce37eab0cfef98cad13f30d8c8bf0 100644 (file)
@@ -101,7 +101,7 @@ unsigned OptAdd3 (CodeSeg* S);
  *
  *     jsr     pushax
  *      lda     xxx
- *     ldy     yyy
+ *             ldx     yyy
  *      jsr     tosaddax
  *
  * and replace it by
@@ -113,9 +113,14 @@ unsigned OptAdd3 (CodeSeg* S);
  *      adc     yyy
  *      tax
  *      pla
- */                           
+ */
 
 unsigned OptAdd4 (CodeSeg* S);
+/* Search for a call to incaxn and replace it by an 8 bit add if the X register
+ * is not used later.
+ */
+
+unsigned OptAdd5 (CodeSeg* S);
 /* Search for the sequence
  *
  *     adc     ...