Closed flamewing closed 3 years ago
Some pseudo-instructions have multiple allowed forms; e,g,:
equ (spelled as constant in some targets)
equ
constant
; All of these are equivalent value1 equ 1 value2 = 2 equ value3,3
set (spelled as eval in some targets)
set
eval
; All of these are equivalent value1 set 1 value2 = 2 set value3,3
But not others:
reg
myreg reg d0
namereg
namereg s08,myreg
label
mylabel label *
label mylabel,*
function and macro are trickier, but it might be worth supporting the alternate syntax anyway.
function
macro
Some pseudo-instructions have multiple allowed forms; e,g,:
equ
(spelled asconstant
in some targets)set
(spelled aseval
in some targets)But not others:
reg
only supportsmyreg reg d0
namereg
only supportsnamereg s08,myreg
(and note the inconsistency on register name placement compared toset
andequ
)label
only supportsmylabel label *
; it should also acceptlabel mylabel,*
function
andmacro
are trickier, but it might be worth supporting the alternate syntax anyway.