beautypg.com

Byte ordering – Zilog Z8F0130 User Manual

Page 25

background image

eZ8

CPU Core

User Manual

UM012820-0810

Architectural Overview

10

Byte Ordering

For multibyte data, the eZ8 CPU stores the most significant byte in the
lowest memory address. For example, the value 1 can be stored as a 2-
byte (16-bit) number in Register Pair

122h

and

123h

. The value is stored

as

0001h

. The most-significant byte (

00h

) is stored in the lowest memory

address at

122h

. The least-significant byte (

01h

) is stored in the higher

memory address at

123h

. This ordering of multibyte data is often referred

to as big endian.