3 ms·
That's actually pretty cool. It seems like you could transparently change the number of registers to whatever would fit in your particular model of chip, 0 to 1
by andrewflnr 7y ago
That's actually pretty cool. It seems like you could transparently change the number of registers to whatever would fit in your particular model of chip, 0 to 16 to a kilobyte or more. Is there a reason you wouldn't use such a design for a chip today?
- muricula 7y agoMemory mapped registers are still a thing today. Here's arm documentation describing memory mapped debug registers for Cortex-R chips: http://infocenter.arm.com/help/index.jsp?topic=/com.arm.doc.ddi0460d/Cegejeeb.html http://infocenter.arm.com/help/index.jsp?topic=/com.arm.doc.... Even the intel XAPIC (interrupt controller) has a mode which basically uses memory mapped registers for configuring interrupts. The trick with executing hot loops in registers definitely wouldn't work today, and in some microprocessors the merely reading registers can change the state of external devices.