I know it's a very basic question, but I'm eating my head trying to figure out how it's done.
I am using a Motorola 6800 with this emulator.
I have two numbers, and their sum gives more than 255, I know I have to use ADC but I do not know how to save the result.
ldaa #255 ; Cargar primer numero(255) en el acumulador A
staa $00f0 ; Guardar A en la memoria $00f0
ldaa #30 ; Cargar segundo numero(30) en el acumulador A
adca $00f0 ; Añadir ambos numeros con carry
Here I am with the carry flag in 1, and the number 29 in the accumulator A (which as far as I know, means that the result is 255 + accA + 1).
How do I save the result?