ASSIGNMENTS on INTRODUCTION TO Z80 INSTRUCTIONS AND PROGRAMMING TECHNIQUES (part2)
ASSIGNMENTS on INTRODUCTION TO Z80 INSTRUCTIONS AND PROGRAMMING TECHNIQUES (part2) 25. Rewrite the instructions in Figures 8.2 (a), (b), and (c) using the index registers IX and IY as memory pointers. 26. Write instructions to load XX70 H into the IY index register. Using the register IY as a memory pointer with appropriate offsets, store the bytes A2 H and 32 H in memory locations XX4F H and XX9F H , respectively. 27. Calculate the value of the memory pointer if register IX contains 2000 H with the displacement byte 80 H . 28. Calculate the values of two memory pointers if register IY contains-20FF H and it is combined with the displacement bytes 7F H and 8F H . 29. Assuming the index register IX contains 2050 H , explain the difference between the instructions INC IX and INC (IX + 0). 30. Rewrite Illustrative Program l (Section 8.6), Block Transfer of Data Bytes, using the index registers as memory pointers. 31. Draw a flowchart to add the numbers stored i...