Files
rgbds/test/asm
Ben Hetherington 16111f46ef Allow PUSHS to be used before a section
Previously, a PUSHS before a SECTION directive would cause rgbasm to crash when encountering a subsequent POPS.

This is because the subsequently-called out_setCurrentSection() expected the new section to be non-null, which wasn’t the case in this situation. This has been addressed by allowing the ‘null’ section to be set in this function, and only dereferencing it (to set nPC) if a non-null section is to be set.

In practice, this means that PUSHS/POPS can now be used to push/restore a context without a section.
2019-08-16 13:22:19 +01:00
..
2019-05-05 15:50:56 -07:00
2019-05-05 15:50:56 -07:00
2015-01-27 04:33:38 -07:00
2018-04-03 23:04:29 +01:00
2018-04-03 23:04:29 +01:00
2019-07-03 16:05:54 +02:00
2019-05-05 15:50:56 -07:00
2018-06-30 21:57:34 -04:00
2018-06-30 21:57:34 -04:00