esaulenka / ghidra_STM8

Ghidra STM8 processor module
Apache License 2.0
23 stars 8 forks source link

added 16/24 bit mixed address space #4

Open thomas-haller opened 3 years ago

thomas-haller commented 3 years ago

In a project of our company we had the following problems: -small mode was not usable as the (used) flash area was larger than 32kB -medium mode made to many problems in decompilation because of the zero extension of the stack pointer. Our solution was to create a mixed mode. Similar to an harvard architecture we specified a 16 bit address bus "RAM" for all data accesses and a 24 bit address bus "ROM" for all code fetching.

Pro: