ASSIGNMNTS on Introduction to Z80 Assembly Language Programming
ASSIGNMNTS 1. How is the accumulator different from the 8-bit general-purpose registers of the Z80 microprocessor? 2. Explain the function of the alternate registers. 3. What is a flag, and what is its function? 4. If the Z80 adds 87 H and 79 H , specify the contents of the accumulator and the status of the S, Z, and CY flags. 5. If the Z80 is an 8-bit microprocessor, why are the program counter and the stack pointer 16-bit registers? 6. If the Z80 has fetched the machine code located at the memory location 205F H , specify the contents of the program counter. 7. The index register IX holds the address 2058 H • Specify the value of the displacement byte needed to make the effective address 2097 H • 8. The index register IY holds the address 2070 H • Specify the value of the displacement byte in 2's complement needed to make the effective address 2050 H • 9. List the six types of operations the Z80 performs. 10. Define opcode and operand, and specify the opcod...