Close

Program Position Independence

A project log for PDP - Processor Design Principles

Distilling my experience and wisdom about the architecture, organisation and design choices of my CPUs

yann-guidon-ygdesYann Guidon / YGDES 02/12/2018 at 21:461 Comment

One of the design constraints of the MC6809.

That quality of a program to execute properly when placed anywhere within the memory address map. Thus the program is independent of its position within the memory map.

(which means : void kludges !)

It's not enough to have a PC-relative addressing mode (particularly for a Harvard memory layout).

- to be discussed...

Discussions

Samuel A. Falvo II wrote 02/25/2018 at 06:22 point

RISC-V instruction set architecture is designed with the same position-independent code philosophy in mind.  It's come in very handy for my Kestrel Computer project on several occasions.

  Are you sure? yes | no