diff --git a/examples/asm/euclid/euclid.a65 b/examples/asm/euclid/euclid.ca65 similarity index 94% rename from examples/asm/euclid/euclid.a65 rename to examples/asm/euclid/euclid.ca65 index 150847c..8e678c9 100644 --- a/examples/asm/euclid/euclid.a65 +++ b/examples/asm/euclid/euclid.ca65 @@ -1,4 +1,4 @@ -; euclid.a65 +; euclid.ca65 ; A program to find the greatest common divisor of two numbers .ORG $1000 @@ -6,7 +6,7 @@ ; .algo LDA $00 ; Load from F to A ; .algo_ -sec ; Set carry flag +SEC ; Set carry flag SBC $01 ; Subtract S from the number in A (from F) BEQ end ; Jump to .end if the difference is zero BMI swap ; Jump to .swap if the difference is negative