beautypg.com

FUJITSU MB91F109 FR30 User Manual

Page 424

background image

400

APPENDIX D Notes on Using Little Endian Areas

/* 32-bit data is accessed with a ST (or LD) instruction.*/

ST r0, @r1

/* 16-bit data is accessed with a STH (or LDH) instruction. */

STH r2, @r3

/* 8-bit data is accessed with a STB (or LDB) instruction. */

STB r4, @r5

If the MB91F109 accesses data with an operation for of a different size, the data value cannot
be guaranteed. For example, when two consecutive 16-bit data areas are simultaneously
accessed using a 32-bit access instruction, the data values cannot be assured.