NEC Network Controller uPD98502 User Manual

Page 62

Advertising
background image

CHAPTER 2 V

R

4120A

62

Preliminary User’s Manual S15543EJ1V0UM

The following special instructions to load and store data that are not aligned on 4-byte (word) or 8-byte

(doubleword) boundaries:

LWL

LWR

SWL

SWR

LDL

LDR

SDL

SDR

These instructions are used in pairs to provide an access to misaligned data. Accessing misaligned data incurs

one additional instruction cycle over that required for accessing aligned data.

Figure 2-6 shows the access of a misaligned word that has byte address 3 for the little-endian conventions.

Figure 2-6. Misaligned Word Accessing (Little-Endian)

5

6

4

0

15

16

8

23

24

7

31

3

Low-order

address

High-order

address

Advertising