Commit | Line | Data |
---|---|---|
8c17da6e NC |
1 | .h8300h |
2 | .globl _start | |
3 | _start: | |
4 | mov.b @foo:16,r0l | |
81f5558e | 5 | mov.b r0l,@foo:16 |
8c17da6e | 6 | mov.b @bar:32,r0l |
81f5558e | 7 | mov.b r0l,@bar:32 |
8c17da6e | 8 | |
81f5558e NC |
9 | mov.w @foo:16,r0 |
10 | mov.w r0,@foo:16 | |
11 | mov.w @bar:32,r0 | |
12 | mov.w r0,@bar:32 | |
13 | ||
14 | mov.l @foo:16,er0 | |
15 | mov.l er0,@foo:16 | |
16 | mov.l @bar:32,er0 | |
17 | mov.l er0,@bar:32 | |
18 | ||
19 | .equ foo,0xffff64 | |
20 | .equ bar,0x4320 |