Use correct ca65 assembler file extension

This commit is contained in:
Matthias 2023-06-28 10:12:23 +02:00
parent fa6e4f49f1
commit d9499fa419
1 changed files with 2 additions and 2 deletions

View File

@ -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