You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Follow-up to #2257. The implementation in #2258 treats ds N, (with a trailing comma) as a data ds with zero elements, which divides by zero when N is nonzero. It should instead treat ds N, the same way as ds N (without a trailing comma), i.e. as a padding ds without any data.
Note that the current bad-ds.asm test case does try to test ds 2,, but since it's in WRAM, the requireCodeSection()'s "Section ... cannot contain code or data" error happens before the division by zero can occur.
Activity