diff --git a/include/ChangeLog b/include/ChangeLog index 623d24a0..3f38bc0f 100644 --- a/include/ChangeLog +++ b/include/ChangeLog @@ -1,3 +1,8 @@ +2005-06-16 Branislav Petrovsky + + * h8/h8s2357/mcu.h (SBYCR, SYSCR, SCKCR, MDCR, MSTPCRH, MSTPCRL) + (SYSCR2): Added assembly alternatives to C register names defines. + 2005-06-10 Branislav Petrovsky * h8/h83048/itu.h: Replaced 8 bit register pairs with 16 bit registers diff --git a/include/h8/h8s2357/mcu.h b/include/h8/h8s2357/mcu.h index e32428ba..274a6ec3 100644 --- a/include/h8/h8s2357/mcu.h +++ b/include/h8/h8s2357/mcu.h @@ -81,6 +81,16 @@ typedef volatile struct MCU_registers { #define MSTPCRL_OFFSET 0x05 #define SYSCR2_OFFSET 0x0a +#if LANGUAGE == ASM +#define SBYCR (MCU_BASE + SBYCR_OFFSET) +#define SYSCR (MCU_BASE + SYSCR_OFFSET) +#define SCKCR (MCU_BASE + SCKCR_OFFSET) +#define MDCR (MCU_BASE + MDCR_OFFSET) +#define MSTPCRH (MCU_BASE + MSTPCRH_OFFSET) +#define MSTPCRL (MCU_BASE + MSTPCRL_OFFSET) +#define SYSCR2 (MCU_BASE + SYSCR2_OFFSET) +#endif /* LANGUAGE == ASM */ + /* SBYCR bits */ #define SBYCR_SSBY bit(7) #define SBYCR_STS_MASK bits(6,4)