Re:CPU of the Day: Motorola MC68040VL
by tralarpa on Saturday November 02, 2019 @01:52PM
(#21429019)
By the way, the possible difference between instruction and data address space can have interesting effects.
Amiga programmers, do you remember the (bad) habit of putting data fields directly into the code? Like this fragment:
...
jsr OpenLibrary(a6)
move.l d0, gfxbase
rts
gfxbase dc.l 0
Imagine now what could happen in the above move.l instruction if the address "gfxbase" is translated differently from the addresses of the instructions :)
Re:CPU of the Day: Motorola MC68040VL
by immigrantsheep on Saturday November 02, 2019 @07:25PM
(#21430840)
Ooh good times :)
However, there are separate configuration registers for code and data address space that can be used to define which parts of the virtual address space should be translated and which parts are directly mapped to physical addresses without translation. Therefore, strictly spoken, the instruction address space is not necessarily identical to the data address space, despite having only one page table.