aboutsummaryrefslogtreecommitdiff
path: root/source/65c816.h
diff options
context:
space:
mode:
Diffstat (limited to 'source/65c816.h')
-rw-r--r--source/65c816.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/source/65c816.h b/source/65c816.h
index 505d185..406341a 100644
--- a/source/65c816.h
+++ b/source/65c816.h
@@ -146,15 +146,15 @@
typedef union
{
-#ifdef LSB_FIRST
+#ifdef MSB_FIRST
struct
{
- uint8_t l, h;
+ uint8_t h, l;
} B;
#else
struct
{
- uint8_t h, l;
+ uint8_t l, h;
} B;
#endif
uint16_t W;