mirror of
https://github.com/open-simh/simtools.git
synced 2026-04-27 04:26:37 +00:00
Add .PAGE as no-op, and give errors for misplaced .ENDR .ENDM.
This commit is contained in:
@@ -53,7 +53,14 @@ test-endm.mac:37->M5:3: ***ERROR .ENDM 'NOTM5' does not match .MACRO 'M5'
|
||||
40 .macro M6
|
||||
test-endm.mac:41: ***ERROR .ENDM 'NOTM6' does not match .MACRO 'M6'
|
||||
41 .endm notM6 ; wrong
|
||||
41
|
||||
42
|
||||
test-endm.mac:43: ***ERROR No macro definition block active
|
||||
43 .endm ; end without macro
|
||||
test-endm.mac:44: ***ERROR No repeat block active
|
||||
44 .endr ; end without repetition
|
||||
test-endm.mac:45: ***ERROR No conditional block active
|
||||
45 .endc ; end without condition
|
||||
45
|
||||
|
||||
|
||||
Symbol table
|
||||
|
||||
@@ -39,3 +39,7 @@
|
||||
|
||||
.macro M6
|
||||
.endm notM6 ; wrong
|
||||
|
||||
.endm ; end without macro
|
||||
.endr ; end without repetition
|
||||
.endc ; end without condition
|
||||
|
||||
@@ -23,6 +23,7 @@
|
||||
test-rept.mac:20: ***ERROR .REPT value must be constant
|
||||
20 .rept undefd
|
||||
21 000014 005200 inc r0
|
||||
test-rept.mac:22: ***ERROR No repeat block active
|
||||
22 .endr
|
||||
22
|
||||
|
||||
|
||||
Reference in New Issue
Block a user