diff --git a/Sources/SprExtend b/Sources/SprExtend index 6fa6fb7b3cab75660021f6cc936bda483cc42d4f..cfa9469a60a33d78279a80be02366ee339cd5b77 100644 --- a/Sources/SprExtend +++ b/Sources/SprExtend @@ -402,6 +402,19 @@ file SETL {FALSE} nbuffers * 8 ; number of code buffers to use ] + ; Enable use of cc -cpu 6 with an old version of objasm + ; If your objasm understands v6 opcodes, it will ignore these macros + ; Note the 3rd parameter is not implemented yet (not currently needed) + MACRO +$lab SXTH $rd,$rm +$lab DCI &E6BF0070 :OR: ($rd :SHL: 12) :OR: $rm + MEND + + MACRO +$lab UXTH $rd,$rm +$lab DCI &E6FF0070 :OR: ($rd :SHL: 12) :OR: $rm + MEND + ; ---------------------------------------------------------------------------- ASSERT (.=Module_BaseAddr)