I want to call an ASM function from C, and I'm stuck at even getting the ASM file to ASM. I created the file via AS6 (call it foo.s) and .include-ed the proper .inc file and a few lines of ASM, and the thing blows up on the .inc file, with
unknown pseudo-op: '.device'
followed by countless
expected comma after XYZ
I also can't figure out the string requirements for adding an include path (the -I argument in properties). In the path I've tried '\' and '\\' and '/' and nothing works (although each fails differently). I need to provide the entire path in the .include to even get the .inc file found.
So what am I !#@$#%^& doing wrong? Even a pointer to a working example would be fine. Thanks.