C-like compiler with devkit?

Discussion of hardware and software development for Super NES and Super Famicom. See the SNESdev wiki for more information.

Moderator: Moderators

Forum rules
  • For making cartridges of your Super NES games, see Reproduction.
Oziphantom
Posts: 1565
Joined: Tue Feb 07, 2017 2:03 am

Re: C-like compiler with devkit?

Post by Oziphantom »

you can drop the STA Local_1
Myself086
Posts: 158
Joined: Sat Nov 10, 2018 2:49 pm

Re: C-like compiler with devkit?

Post by Myself086 »

Oziphantom wrote: Thu May 25, 2023 9:21 am you can drop the STA Local_1
STA Local_1 and STA Temp_0 will be dropped eventually.

There are some LDA that this code tries to generate but the variable is already in A. For example, values are returned in A but Temp_0 is already in A at that point.
Post Reply