Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
New bug-fix release 1.2.5-r1513
#12
Ok, Another fix :!:
The PRINT42 routine now compiles with -O3. I've also finally included in the library/ directory so
#include <print42.bas>
will be OK now, and it can be called with PRINT42, Print42, print42, etc....

I've also convert it to FASCALL. On any function:

Code:
SUB FASTCALL MySub(param as Uinteger)
asm
; HL already contains param !
end sub
END SUB
So the initial POP/PUSH sequence can be removed. A FASTCALL function means the 1st parameter is passed on registers. FASTCALL is good for single parameter asm functions. ;-)

This is better explained in another thread.
Reply


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)