Hello All,
I received and built the Altair 680, a fun project and would recommend to anyone who enjoys building kits.
My question since I am not a programmer is:
How do you Add Two Numbers in Altair 680 Machine Code
I tried the following code I found on the internet. Some things do not make sense to me
Address Opcode Instruction Comments
0x00 0xA9 LDA #$05 Load the first number (5)
0x01 0x05
0x02 0xA2 LDX #$03 Load the second number (3)
0x03 0x03
0x04 0x86 ADD A, X Add the two numbers
0x05 0x00
0x06 0x00 STAA $FF Store the result at address $FF
Then hit RUN and then checked location FF - no luck
Any help would be greatly appreciated.
Thanks,
Maurice