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

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? ___________

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Programming Questions!