From c3b0d750cab50ef98688b9785f4a061759f6be6a Mon Sep 17 00:00:00 2001 From: redcode Date: Tue, 5 Jul 2022 12:18:27 +0200 Subject: [PATCH] Doxygen comments. --- API/Z80.h | 16 +++++++--------- 1 file changed, 7 insertions(+), 9 deletions(-) diff --git a/API/Z80.h b/API/Z80.h index 72a34a0..c02936b 100644 --- a/API/Z80.h +++ b/API/Z80.h @@ -305,14 +305,13 @@ typedef struct { * * All instructions with @c DDh prefix behave in exactly the same way * as their counterparts with @c FDh prefix, differing only in which - * index register is used. This member allows optimizing the size of - * the Z80 library by acting as a temporary index register, thus making - * it unnecessary to duplicate code in order to emulate these two - * groups of instructions. + * index register is used. This allows optimizing the size of the Z80 + * library by using a temporary index register, making it unnecessary + * to duplicate code to emulate these two groups of instructions. * - * After a @c DDh or @c FDh prefix is fetched, the index register is - * copied into this member, next the instruction is executed and finaly - * this member is copied back into the index register. */ + * When a @c DDh or @c FDh prefix is fetched, the index register + * corresponding to the prefix is copied into this member, which is + * copied back into the index register at the end of the instruction. ZInt16 xy; @@ -340,8 +339,7 @@ typedef struct { * eventually corrupts R7. * * This member is used to preserve a copy of R7 while the emulation is - * running, since the emulator performs normal increments for speed - * reasons. Only the most significant bit is used, the others must be + * running. Only the most significant bit is used, the others must be * considered garbage. */ zuint8 r7;