Question: Problem A: You have 3 variables XX, YY and ZZ. XX and YY are in common RAM (0x70 and 0x71) but ZZ is in Bank

 Problem A: You have 3 variables XX, YY and ZZ. XX

Problem A: You have 3 variables XX, YY and ZZ. XX and YY are in common RAM (0x70 and 0x71) but ZZ is in Bank 2 (0x120). You have to write code to preload the variables with 0X37 in XX and OXA8 in YY. Since you will only use ZZ as a scratch register, you don't need to even clear it. You don't have to write the code to create XX, YY, and ZZ definitions, assume all setup has been done for you. Problem A: You have 3 variables XX, YY and ZZ. XX and YY are in common RAM (0x70 and 0x71) but ZZ is in Bank 2 (0x120). You have to write code to preload the variables with 0X37 in XX and OXA8 in YY. Since you will only use ZZ as a scratch register, you don't need to even clear it. You don't have to write the code to create XX, YY, and ZZ definitions, assume all setup has been done for you

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 Databases Questions!