d599df9587
add rd, pc, #foo - . - 8 -> adr rd, foo ldr rd, [pc, #foo - . - 8] -> ldr rd, foo Also, when saving the return address for a function pointer call, use "mov lr, pc" just before the call unless the return address is somewhere other than just after the call site. Finally, a few obvious little micro-optimisations like using LDR directly rather than ADR followed by LDR, and loading directly into PC rather than bouncing via R0. |
||
---|---|---|
.. | ||
clock.c | ||
ds1687reg.h | ||
icu.h | ||
isa_io_asm.S | ||
isa_io.c | ||
isa_irq.S | ||
isa_irqhandler.c | ||
isa_shark_machdep.c | ||
isadma_machdep.c | ||
joy_timer.c | ||
nvram.h | ||
spkrreg.h |