Re: [Sdcc-user] Question about retargeting.

2020-11-12 Thread Philipp Klaus Krause
Am 11.11.20 um 23:50 schrieb Bill Gaylord: > Yes. I have no special purpose registers that you can directly access. > The stack top register you have to use an instruction to actually look > at or change.  > > I can link to my horrible google sheets for my Instruction set if that > helps at all. B

Re: [Sdcc-user] Question about retargeting.

2020-11-12 Thread Ralph Doncaster
I found the code generators for libfirm/cparser a lot easier to follow than gcc. On Thu, Nov 12, 2020, 08:07 Philipp Klaus Krause wrote: > Am 11.11.20 um 23:50 schrieb Bill Gaylord: > > Yes. I have no special purpose registers that you can directly access. > > The stack top register you have to

Re: [Sdcc-user] Question about retargeting.

2020-11-12 Thread Philipp Klaus Krause
Am 12.11.20 um 13:48 schrieb Ralph Doncaster: > I found the code generators for libfirm/cparser a lot easier to follow > than gcc. A yes, I forgot to mention the Firm compiler. That one might indeed be another alternative. Philipp ___ Sdcc-user mailin

Re: [Sdcc-user] Question about retargeting.

2020-11-12 Thread Bill Gaylord
I was looking at LLVM at first but its documention on writing a new back is crazy complex and doesnt explain much. I have a working python emulator also working on one in C. Not sure if that helps at all. On Thu, Nov 12, 2020, 7:16 AM Philipp Klaus Krause wrote: > Am 12.11.20 um 13:48 schrieb R