nesasm icon indicating copy to clipboard operation
nesasm copied to clipboard

[Question] +1 in add without carry

Open jeffythedragonslayer opened this issue 2 years ago • 0 comments

Why is there a +1 is the add without carry macro?

            add    .macro       ; add a value to register A
                    clc         ; (handle carry flag)
                    adc   \1+1
                   .endm

jeffythedragonslayer avatar Feb 08 '23 21:02 jeffythedragonslayer