1. Multiply. We will be using the ADC instruction, the only add instruction in the 6502 instruction...
Fantastic news! We've Found the answer you've been seeking!
Question:
1. Multiply. We will be using the ADC instruction, the only add instruction in the 6502 instruction set. We will have to clear the Carry flag (CLC) before each addition to ensure it isnt set. Well enter the multiplicand in the accumulator and the multiplier in the X-register. Use load immediates. The product could be in the accumulator or a memory location (use addresses 70016 and above). a. Test with 5 & 20 and print screen at the end. Label it PtA1a. What was the answer? ___________ b. Test with 3 & 120 and print screen at the end. Label it PtA1b. What was the answer? ___________ c. Test with 8 & 31 and print screen at the end. Label it PtA1c. What was the answer? ___________
Posted Date: