Forgive me if this sounds offensive, but I want to know whether an ASM statement in Power Basic generates simply Assembly-language code, or whether it is some sort of emulator. Here is why: I have a sorting application in Power Basic, with pointers and ASM statements. I have the same thing in highly optimized bloatware with Fortran pointers. The bloatware is Intel Fortran and is 480K, vs. about 20K for the Power Basic. Both apps are fully debugged and give perfect results. However, the Fortran (sorry to say this) is about 3 times faster, with my test data set, than the Power Basic. True, we are looking at 0.03 to 0.04 second (Fortran) vs. 0.09 to 0.10 second (Power Basic), but I am wondering why the blaotware, using only Fortran pointers, is measurably faster. Sorry, I know you don't like to see compilers compared with each other in this forum, so please forgive the offense.
P.S. The same thing in Power Basic, with pointers but without ASM code, is about 0.18 seconds, so the ASM code is definitely working.
P.S. The same thing in Power Basic, with pointers but without ASM code, is about 0.18 seconds, so the ASM code is definitely working.
Comment