I hate to say it, but PB35's inline assembler is proving to be a source of considerable frustration... among other things, its syntax appears to be subtly different from that used in the books I have on 80x86 assembly code, so I keep getting errors. The documentation that comes with PB35 is of little help, as it pretty much glosses over the whole subject... is there a document anywhere (a tech bulletin, a PDF file, or even an article in a programming magazine) that documents the inline assembler IN DETAIL???
Also - why does the inline assembler not support anything higher than 8086/8088 opcodes, or even 80x87 opcodes? The latter may be of critical importance, as the program I'm trying to put together has an interrupt-driven section which combines assembly and PowerBASIC code. I have, thanks to this forum, example code on how to do that, but the code doesn't seem to context-save the 80x87 registers, and I may need to perform a couple of floating-point operations during the interrupt. (Or does the PB runtime do this by itself? I can't imagine how it could, but...)
------------------
Also - why does the inline assembler not support anything higher than 8086/8088 opcodes, or even 80x87 opcodes? The latter may be of critical importance, as the program I'm trying to put together has an interrupt-driven section which combines assembly and PowerBASIC code. I have, thanks to this forum, example code on how to do that, but the code doesn't seem to context-save the 80x87 registers, and I may need to perform a couple of floating-point operations during the interrupt. (Or does the PB runtime do this by itself? I can't imagine how it could, but...)
------------------
Comment