Implement ENDSECTION (#1211)

This commit is contained in:
Rangi
2023-11-04 18:41:17 -04:00
committed by GitHub
parent 99727cbe99
commit 259ec58140
12 changed files with 44 additions and 9 deletions

4
test/asm/endsection.asm Normal file
View File

@@ -0,0 +1,4 @@
SECTION "test", ROM0
db 1
ENDSECTION
db 2

3
test/asm/endsection.err Normal file
View File

@@ -0,0 +1,3 @@
error: endsection.asm(4):
Cannot output data outside of a SECTION
error: Assembly aborted (1 error)!

0
test/asm/endsection.out Normal file
View File