CPCWiki forum

General Category => Programming => Topic started by: funkheld on 16:14, 07 September 19

Title: Help for ASM with : PASMO !
Post by: funkheld on 16:14, 07 September 19

Hi good afternoon.
I have the compiler for asm: pasmo.
"add 4" does not work with pasmo.

why not ?

"Error: Invalid operand"

Thank you.
greeting
Title: Re: Help for ASM with : PASMO !
Post by: Targhan on 16:34, 07 September 19
I don't use PASMO, but "add a,4" is the official format. "sub 4" should work though. (I suggest you to use RASM instead of PASMO!)
Title: Re: Help for ASM with : PASMO !
Post by: funkheld on 16:40, 07 September 19
hello, thanks.