Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #define REG_1 *((uword volatile far *)(0xBEEFFF))
- REG_1 = 0x12345678;
- #define CHANNEL_0_offset 0xBEEF00
- #define CHANNEL_1_offset 0xFACE00
- #define REG_1 0x0000AB
- *((uword volatile far *)(CHANNEL_0_offset+REG_1)) = 0x12345678;
- *((uword volatile far *)(CHANNEL_1_offset+REG_1)) = 0x87654321;
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement