Skip to content

Commit 3785101

Browse files
committed
Make the main register pairs 32-bit aligned.
1 parent 1195036 commit 3785101

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

API/Z80.h

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -405,12 +405,12 @@ struct Z80 {
405405

406406
ZInt16 memptr; /**< @brief Register MEMPTR, also known as WZ. */
407407
ZInt16 af; /**< @brief Register pair AF (accumulator and flags). */
408-
ZInt16 bc; /**< @brief Register pair BC. */
409-
ZInt16 de; /**< @brief Register pair DE. */
410-
ZInt16 hl; /**< @brief Register pair HL. */
411408
ZInt16 af_; /**< @brief Register pair AF'. */
409+
ZInt16 bc; /**< @brief Register pair BC. */
412410
ZInt16 bc_; /**< @brief Register pair BC'. */
411+
ZInt16 de; /**< @brief Register pair DE. */
413412
ZInt16 de_; /**< @brief Register pair DE'. */
413+
ZInt16 hl; /**< @brief Register pair HL. */
414414
ZInt16 hl_; /**< @brief Register pair HL'. */
415415
zuint8 r; /**< @brief Register R (memory refresh). */
416416
zuint8 i; /**< @brief Register I (interrupt vector base). */

0 commit comments

Comments
 (0)