Professional Documents
Culture Documents
Computer Science 37 Lecture 11
Computer Science 37 Lecture 11
11.1
11.2
A program is consists of a stream of instructions which are stored in memory. The program is executed by sequentially fetching instructions from memory and carrying them out according to specification. 11.3
Byte addressable
. . .
11.4
Endian Conventions
word address
0x00000c 0x00000c
byte address
MSB LSB
LSB MSB
Example: store 0x00010203 according to little endian and to a big endian conventions,
0x00 0x03 0x01 0x02 0x02 0x01 0x03 0x00
11.6