6502/65c816: introduce a regptr hint
authorAlan Cox <alan@linux.intel.com>
Thu, 14 Dec 2017 13:43:52 +0000 (13:43 +0000)
committerAlan Cox <alan@linux.intel.com>
Thu, 14 Dec 2017 13:43:52 +0000 (13:43 +0000)
commitb4bec8ffb2503b1eeca408b8334e0ab0240511d7
tree59f96c94013c346f0cb36c2ca780a8ecc2183c31
parent0c526f107084fbad8fadeb3a9cb9a93bd55fdfc1
6502/65c816: introduce a regptr hint

We need this because cc65 writes *far* better code if you tell it to mark
key structure pointers as register so it can then use zp based offset addressing
on them
Kernel/cpu-6502/cpu.h
Kernel/cpu-65c816/cpu.h