199
4.19 Program Example for External Bus Operation
ldi:32 #0x001a6b8c, r6 // CS5 address (within the page)
ldi:32 #0x001a6c00, r7 // CS5 address (outside of the page)
bus_acc ld @r0, r8 // CS1 data word load
lduh @r1, r9 // CS2 data half word load
ld @r2, r10 // CS4 data word load
ldub @r3, r11 // CS4 data byte load
st r8, @r4 // CS4 data word store
sth r9, @r5 // CS5 data half word store
st r10, @r6 // CS5 data word store
stb r11, @r7 // CS5 data byte store