Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

Why 32 bit double word is read at addresses divisible by 4?

Status
Not open for further replies.

rectifier

Member level 5
Member level 5
Joined
Jun 4, 2005
Messages
90
Helped
2
Reputation
4
Reaction score
2
Trophy points
1,288
Activity points
1,905
ADDRESSES DIVISIBLE BY 4

WHY IS IT NECESSARY THAT A 32 BIT DOUBLE WORD IS READ AT THE ADDRESSES DIVISIBLE BY 4?
 

ADDRESSES DIVISIBLE BY 4

because 32 bits take 4 bytes
 

ADDRESSES DIVISIBLE BY 4

Some processors (example Pentium) allow misaligned memory access, but performance usually suffers because it requires multiple memory accesses instead of just one.

Some processors (example Motorola 68000) don't allow it at all, and will trigger an exception (your program will crash).
 

Re: ADDRESSES DIVISIBLE BY 4

THANKS FOR THE HELP BUT COULD YOU PROVIDE MORE DETAILS TECHNO...
 

Status
Not open for further replies.

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top